	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm6_dst_ifdown
_xfrm6_dst_ifdown:                      ## @xfrm6_dst_ifdown
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_dev_net
	movl	(%rax), %edi
	callq	_in6_dev_get
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	callq	_in6_dev_put
	movq	%r12, 16(%rbx)
	movq	%r12, %rdi
	callq	_in6_dev_hold
	movq	(%rbx), %rbx
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	___in6_dev_put
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xfrm_dst_ifdown                ## TAILCALL
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xfrm6_dst_ifdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm6_dst_ifdown
_xfrm6_dst_ifdown:                      ; @xfrm6_dst_ifdown
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_6
; %bb.1:
	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	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_dev_net
	ldr	w0, [x0]
	bl	_in6_dev_get
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x22, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, #16]
	bl	_in6_dev_put
	str	x21, [x22, #16]
	mov	x0, x21
	bl	_in6_dev_hold
	ldr	x22, [x22]
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_3
; %bb.4:
	mov	x0, x21
	bl	___in6_dev_put
LBB0_5:
	mov	x0, x20
	mov	x1, 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	_xfrm_dst_ifdown
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xfrm6_dst_ifdown
.subsections_via_symbols
