	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bond_xmit_hash_policy_l23
_bond_xmit_hash_policy_l23:             ## @bond_xmit_hash_policy_l23
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	callq	_ip_hdr
	movq	%rax, %r15
	movq	(%rbx), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.1:
	movl	4(%r15), %edi
	xorl	(%r15), %edi
	callq	_ntohl
	movzwl	%ax, %eax
	movq	(%r12), %rcx
	movq	8(%r12), %rdx
	xorl	20(%rcx), %eax
	xorl	20(%rdx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%r12), %rcx
	movq	8(%r12), %rax
	movl	20(%rax), %eax
	xorl	20(%rcx), %eax
LBB0_3:
	cltd
	idivl	%r14d
	movl	%edx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.no_dead_strip	_bond_xmit_hash_policy_l23
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bond_xmit_hash_policy_l23
_bond_xmit_hash_policy_l23:             ; @bond_xmit_hash_policy_l23
	.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	x19, x2
	mov	x21, x0
	ldr	x22, [x0, #8]
	bl	_ip_hdr
	mov	x20, x0
	ldr	x21, [x21]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_2
; %bb.1:
	ldp	w8, w9, [x20]
	eor	w0, w9, w8
	bl	_ntohl
	and	w8, w0, #0xffff
	ldp	x9, x10, [x22]
	ldr	w9, [x9, #20]
	ldr	w10, [x10, #20]
	eor	w8, w9, w8
	eor	w8, w8, w10
	b	LBB0_3
LBB0_2:
	ldp	x8, x9, [x22]
	ldr	w8, [x8, #20]
	ldr	w9, [x9, #20]
	eor	w8, w9, w8
LBB0_3:
	sdiv	w9, w8, w19
	msub	w0, w9, w19, w8
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.no_dead_strip	_bond_xmit_hash_policy_l23
.subsections_via_symbols
