	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_arl_read
_b53_arl_read:                          ## @b53_arl_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_b53_arl_op_wait
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	je	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movq	_B53_ARLIO_PAGE@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r14d
	movl	%ebx, %edi
	callq	_B53_ARLTBL_MAC_VID_ENTRY
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	leaq	-48(%rbp), %rcx
	callq	_b53_read64
	movl	(%r15), %r14d
	movl	%ebx, %edi
	callq	_B53_ARLTBL_DATA_ENTRY
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	leaq	-44(%rbp), %rcx
	callq	_b53_read32
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	callq	_b53_arl_to_entry
	movq	_ARLTBL_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ARLTBL_MAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-48(%rbp), %eax
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	jmp	LBB0_6
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_ARLIO_PAGE,4,2             ## @B53_ARLIO_PAGE
	.comm	_ARLTBL_VALID,4,2               ## @ARLTBL_VALID
	.comm	_ARLTBL_MAC_MASK,4,2            ## @ARLTBL_MAC_MASK
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_b53_arl_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_arl_read
_b53_arl_read:                          ; @b53_arl_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	bl	_b53_arl_op_wait
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_7
; %bb.2:
	mov	w23, #0
Lloh0:
	adrp	x25, _B53_ARLIO_PAGE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _B53_ARLIO_PAGE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ARLTBL_VALID@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ARLTBL_VALID@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ARLTBL_MAC_MASK@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ARLTBL_MAC_MASK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x25]
	mov	x0, x23
	bl	_B53_ARLTBL_MAC_VID_ENTRY
	mov	x2, x0
	add	x3, sp, #12
	mov	x0, x22
	mov	x1, x24
	bl	_b53_read64
	ldr	w24, [x25]
	mov	x0, x23
	bl	_B53_ARLTBL_DATA_ENTRY
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x24
	bl	_b53_read32
	ldp	w2, w1, [sp, #8]
	mov	x0, x20
	bl	_b53_arl_to_entry
	ldr	w8, [sp, #8]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x27]
	and	w8, w9, w8
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x19]
	b	LBB0_3
LBB0_7:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_ARLIO_PAGE,4,2             ; @B53_ARLIO_PAGE
	.comm	_ARLTBL_VALID,4,2               ; @ARLTBL_VALID
	.comm	_ARLTBL_MAC_MASK,4,2            ; @ARLTBL_MAC_MASK
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_b53_arl_read
.subsections_via_symbols
