	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apl_get_registers
_apl_get_registers:                     ## @apl_get_registers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ENODEV@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	_b_cr_asym_2way_mem_region_mchbar@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_asym_2way@GOTPCREL(%rip), %rdi
	callq	_RD_REG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	subl	(%rbx), %r15d
	jmp	LBB0_5
LBB0_2:
	negl	%r15d
	movq	_APL_NUM_CHANNELS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_apl_dports@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_drp0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_d_cr_drp0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	(%rax,%rbx), %edx
	callq	_RD_REGP
	testl	%eax, %eax
	cmovel	%eax, %r15d
	incq	%r12
	movslq	(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_asym_2way,4,2                  ## @asym_2way
	.comm	_b_cr_asym_2way_mem_region_mchbar,4,2 ## @b_cr_asym_2way_mem_region_mchbar
	.comm	_APL_NUM_CHANNELS,4,2           ## @APL_NUM_CHANNELS
	.comm	_drp0,8,3                       ## @drp0
	.comm	_d_cr_drp0,4,2                  ## @d_cr_drp0
	.comm	_apl_dports,8,3                 ## @apl_dports
	.no_dead_strip	_apl_get_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apl_get_registers
_apl_get_registers:                     ; @apl_get_registers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x19, _ENODEV@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ENODEV@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x8, _b_cr_asym_2way_mem_region_mchbar@GOTPAGE
Lloh3:
	ldr	x8, [x8, _b_cr_asym_2way_mem_region_mchbar@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, _asym_2way@GOTPAGE
Lloh6:
	ldr	x0, [x0, _asym_2way@GOTPAGEOFF]
	bl	_RD_REG
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	neg	w19, w8
	b	LBB0_5
LBB0_2:
	neg	w19, w20
Lloh7:
	adrp	x20, _APL_NUM_CHANNELS@GOTPAGE
Lloh8:
	ldr	x20, [x20, _APL_NUM_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
Lloh9:
	adrp	x23, _drp0@GOTPAGE
Lloh10:
	ldr	x23, [x23, _drp0@GOTPAGEOFF]
Lloh11:
	adrp	x24, _d_cr_drp0@GOTPAGE
Lloh12:
	ldr	x24, [x24, _d_cr_drp0@GOTPAGEOFF]
Lloh13:
	adrp	x25, _apl_dports@GOTPAGE
Lloh14:
	ldr	x25, [x25, _apl_dports@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, x21
	ldr	w1, [x24]
	ldr	x8, [x25]
	ldr	w2, [x8, x21]
	bl	_RD_REGP
	cmp	w0, #0
	csel	w19, wzr, w19, eq
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_asym_2way,4,2                  ; @asym_2way
	.comm	_b_cr_asym_2way_mem_region_mchbar,4,2 ; @b_cr_asym_2way_mem_region_mchbar
	.comm	_APL_NUM_CHANNELS,4,2           ; @APL_NUM_CHANNELS
	.comm	_drp0,8,3                       ; @drp0
	.comm	_d_cr_drp0,4,2                  ; @d_cr_drp0
	.comm	_apl_dports,8,3                 ; @apl_dports
	.no_dead_strip	_apl_get_registers
.subsections_via_symbols
