	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipvlan_add_addr4
_ipvlan_add_addr4:                      ## @ipvlan_add_addr4
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_spin_lock_bh
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ipvlan_addr_busy
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	negl	%r14d
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movl	(%rdx), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r15, %r8
	callq	_netif_err
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ipvlan_add_addr
	movl	%eax, %r14d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to add IPv4=%pI4 on %s intf.\n"

	.no_dead_strip	_ipvlan_add_addr4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipvlan_add_addr4
_ipvlan_add_addr4:                      ; @ipvlan_add_addr4
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_spin_lock_bh
	ldr	w0, [x19, #16]
	mov	x1, x20
	mov	w2, #0
	bl	_ipvlan_addr_busy
	cbz	x0, LBB0_2
; %bb.1:
	neg	w21, w21
Lloh3:
	adrp	x8, _ifup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
	ldr	w5, [x2]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_netif_err
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_ipvlan_add_addr
	mov	x21, x0
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to add IPv4=%pI4 on %s intf.\n"

	.no_dead_strip	_ipvlan_add_addr4
.subsections_via_symbols
