	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvlan_port_create
_macvlan_port_create:                   ## @macvlan_port_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	callq	_netdev_is_rx_handler_busy
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r14
	movq	%r15, 32(%rax)
	movl	28(%rax), %edi
	movl	16(%r15), %esi
	callq	_ether_addr_copy
	leaq	24(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	_MACVLAN_HASH_SIZE@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_14
## %bb.9:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	addq	%r13, %rdi
	callq	_INIT_HLIST_HEAD
	incq	%rbx
	movl	(%r12), %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_10
## %bb.11:
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%r13, %rdi
	callq	_INIT_HLIST_HEAD
	incq	%rbx
	movl	(%r12), %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_skb_queue_head_init
	movq	_macvlan_process_broadcast@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_WORK
	movq	_macvlan_handle_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_netdev_rx_handler_register
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_17
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_16:
	movq	_IFF_MACVLAN_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MACVLAN_HASH_SIZE,4,2          ## @MACVLAN_HASH_SIZE
	.comm	_macvlan_process_broadcast,4,2  ## @macvlan_process_broadcast
	.comm	_macvlan_handle_frame,4,2       ## @macvlan_handle_frame
	.comm	_IFF_MACVLAN_PORT,4,2           ## @IFF_MACVLAN_PORT
	.no_dead_strip	_macvlan_port_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvlan_port_create
_macvlan_port_create:                   ; @macvlan_port_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_netdev_is_rx_handler_busy
	cbz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_16
; %bb.8:
	mov	x20, x0
	str	x19, [x0, #32]
	ldr	w0, [x0, #28]
	ldr	w1, [x19, #16]
	bl	_ether_addr_copy
	add	x0, x20, #24
	bl	_INIT_LIST_HEAD
Lloh13:
	adrp	x21, _MACVLAN_HASH_SIZE@GOTPAGE
Lloh14:
	ldr	x21, [x21, _MACVLAN_HASH_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_14
; %bb.9:
	mov	x22, #0
	mov	x23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x0, x8, x22
	bl	_INIT_HLIST_HEAD
	add	x23, x23, #1
	ldr	w8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lo	LBB0_10
; %bb.11:
	cbz	w8, LBB0_14
; %bb.12:
	mov	x22, #0
	mov	x23, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x22
	bl	_INIT_HLIST_HEAD
	add	x23, x23, #1
	ldr	w8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lo	LBB0_13
LBB0_14:
	add	x0, x20, #4
	bl	_skb_queue_head_init
Lloh15:
	adrp	x8, _macvlan_process_broadcast@GOTPAGE
Lloh16:
	ldr	x8, [x8, _macvlan_process_broadcast@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_WORK
Lloh18:
	adrp	x8, _macvlan_handle_frame@GOTPAGE
Lloh19:
	ldr	x8, [x8, _macvlan_handle_frame@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_rx_handler_register
	mov	x21, x0
	cbz	w0, LBB0_17
; %bb.15:
	mov	x0, x20
	bl	_kfree
	b	LBB0_4
LBB0_16:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_17:
Lloh23:
	adrp	x8, _IFF_MACVLAN_PORT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IFF_MACVLAN_PORT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MACVLAN_HASH_SIZE,4,2          ; @MACVLAN_HASH_SIZE
	.comm	_macvlan_process_broadcast,4,2  ; @macvlan_process_broadcast
	.comm	_macvlan_handle_frame,4,2       ; @macvlan_handle_frame
	.comm	_IFF_MACVLAN_PORT,4,2           ; @IFF_MACVLAN_PORT
	.no_dead_strip	_macvlan_port_create
.subsections_via_symbols
