	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_ifdown
_dst_ifdown:                            ## @dst_ifdown
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	*%rax
LBB0_2:
	cmpq	%r14, (%rbx)
	je	LBB0_3
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_dev_net
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
	callq	_dev_hold
	movq	%r14, %rdi
	callq	_dev_put
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	cmpq	%r14, (%rax)
	jne	LBB0_7
## %bb.8:
	movq	(%rbx), %rdi
	movq	%rdi, (%rax)
	callq	_dev_hold
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_put                        ## TAILCALL
LBB0_4:
	movq	_dst_discard@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%eax, 20(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_dst_discard,4,2                ## @dst_discard
	.no_dead_strip	_dst_ifdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_ifdown
_dst_ifdown:                            ; @dst_ifdown
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	blr	x8
LBB0_2:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_4
LBB0_3:
	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
LBB0_4:
	cbz	w21, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_dev_net
	ldr	x0, [x0]
	str	x0, [x20]
	bl	_dev_hold
	mov	x0, x19
	bl	_dev_put
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.6:
	ldr	x9, [x8]
	cmp	x9, x19
	b.ne	LBB0_3
; %bb.7:
	ldr	x0, [x20]
	str	x0, [x8]
	bl	_dev_hold
	mov	x0, x19
	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
	b	_dev_put
LBB0_8:
Lloh0:
	adrp	x8, _dst_discard@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dst_discard@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [x20, #16]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dst_discard,4,2                ; @dst_discard
	.no_dead_strip	_dst_ifdown
.subsections_via_symbols
