	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_dev_set_ifa
_dn_dev_set_ifa:                        ## @dn_dev_set_ifa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dn_dev_create
	movq	%rax, %rdi
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rdi, 8(%r14)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_RT_SCOPE_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_5:
	movq	%r14, %rsi
	callq	_dn_dev_insert_ifa
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dn_dev_free_ifa
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_2:
	movl	-20(%rbp), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_RT_SCOPE_HOST,4,2              ## @RT_SCOPE_HOST
	.no_dead_strip	_dn_dev_set_ifa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_dev_set_ifa
_dn_dev_set_ifa:                        ; @dn_dev_set_ifa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x20
	bl	_dn_dev_create
	cbz	x0, LBB0_6
LBB0_2:
	str	x0, [x19, #8]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _RT_SCOPE_HOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RT_SCOPE_HOST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	mov	x1, x19
	bl	_dn_dev_insert_ifa
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_dn_dev_free_ifa
	b	LBB0_7
LBB0_6:
	ldr	w20, [sp, #12]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_RT_SCOPE_HOST,4,2              ; @RT_SCOPE_HOST
	.no_dead_strip	_dn_dev_set_ifa
.subsections_via_symbols
