	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rlb_arp_xmit
_rlb_arp_xmit:                          ## @rlb_arp_xmit
	.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
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_arp_pkt
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	_ARPOP_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rlb_choose_channel
	movq	%rax, %r14
	leaq	L_.str(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	12(%r15), %edi
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_3:
	movq	(%r15), %rbx
	movq	_ARPOP_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rlb_choose_channel
	movq	_RLB_UPDATE_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_rlb_req_update_subnet_clients
	leaq	L_.str.1(%rip), %rbx
	xorl	%r14d, %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_pr_debug
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPOP_REPLY,4,2                ## @ARPOP_REPLY
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server sent ARP Reply packet\n"

	.comm	_ARPOP_REQUEST,4,2              ## @ARPOP_REQUEST
	.comm	_RLB_UPDATE_DELAY,4,2           ## @RLB_UPDATE_DELAY
L_.str.1:                               ## @.str.1
	.asciz	"Server sent ARP Request packet\n"

	.no_dead_strip	_rlb_arp_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rlb_arp_xmit
_rlb_arp_xmit:                          ; @rlb_arp_xmit
	.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, x1
	mov	x21, x0
	bl	_arp_pkt
	mov	x20, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _ARPOP_REPLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPOP_REPLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_rlb_choose_channel
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #12]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	x22, [x20]
Lloh8:
	adrp	x8, _ARPOP_REQUEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARPOP_REQUEST@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	bl	_rlb_choose_channel
Lloh11:
	adrp	x8, _RLB_UPDATE_DELAY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RLB_UPDATE_DELAY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_rlb_req_update_subnet_clients
	mov	x19, #0
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_pr_debug
	b	LBB0_8
LBB0_7:
	mov	x19, #0
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPOP_REPLY,4,2                ; @ARPOP_REPLY
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server sent ARP Reply packet\n"

	.comm	_ARPOP_REQUEST,4,2              ; @ARPOP_REQUEST
	.comm	_RLB_UPDATE_DELAY,4,2           ; @RLB_UPDATE_DELAY
l_.str.1:                               ; @.str.1
	.asciz	"Server sent ARP Request packet\n"

	.no_dead_strip	_rlb_arp_xmit
.subsections_via_symbols
