	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm4_fill_dst
_xfrm4_fill_dst:                        ## @xfrm4_fill_dst
	.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, %rbx
	movq	%rdi, %r14
	movq	48(%rdi), %r15
	movl	(%rdx), %eax
	movl	%eax, 36(%rdi)
	movq	%rsi, 40(%rdi)
	movq	%rsi, %rdi
	callq	_dev_hold
	movq	%rbx, %rdi
	callq	_in_dev_get
	movl	%eax, 32(%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	24(%r15), %rdi
	movq	%rdi, 24(%r14)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_atomic_inc
LBB0_4:
	movq	_RTCF_BROADCAST@GOTPCREL(%rip), %rax
	movq	_RTCF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RTCF_LOCAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	andl	(%r15), %ecx
	movl	%ecx, (%r14)
	movl	20(%r15), %eax
	movl	%eax, 20(%r14)
	movups	4(%r15), %xmm0
	movups	%xmm0, 4(%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_RTCF_BROADCAST,4,2             ## @RTCF_BROADCAST
	.comm	_RTCF_MULTICAST,4,2             ## @RTCF_MULTICAST
	.comm	_RTCF_LOCAL,4,2                 ## @RTCF_LOCAL
	.no_dead_strip	_xfrm4_fill_dst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm4_fill_dst
_xfrm4_fill_dst:                        ; @xfrm4_fill_dst
	.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
	ldr	x21, [x0, #48]
	ldr	w8, [x2]
	str	w8, [x0, #36]
	str	x1, [x0, #40]
	mov	x0, x1
	bl	_dev_hold
	mov	x0, x20
	bl	_in_dev_get
	str	w0, [x19, #32]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x0, [x21, #24]
	str	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_atomic_inc
LBB0_3:
	mov	w0, #0
Lloh0:
	adrp	x8, _RTCF_BROADCAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTCF_BROADCAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RTCF_MULTICAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTCF_MULTICAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _RTCF_LOCAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTCF_LOCAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x21]
	and	w8, w8, w9
	str	w8, [x19]
	ldr	w8, [x21, #20]
	str	w8, [x19, #20]
	ldur	q0, [x21, #4]
	stur	q0, [x19, #4]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_RTCF_BROADCAST,4,2             ; @RTCF_BROADCAST
	.comm	_RTCF_MULTICAST,4,2             ; @RTCF_MULTICAST
	.comm	_RTCF_LOCAL,4,2                 ; @RTCF_LOCAL
	.no_dead_strip	_xfrm4_fill_dst
.subsections_via_symbols
