	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9005_is_fecmon_available
_af9005_is_fecmon_available:            ## @af9005_is_fecmon_available
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movl	$0, (%rsi)
	movl	(%rbx), %edi
	movq	_xd_p_fec_vtb_rsd_mon_en@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fec_vtb_rsd_mon_en_pos@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fec_vtb_rsd_mon_en_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %r8
	callq	_af9005_read_register_bits
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	testb	$1, -20(%rbp)
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movl	(%rbx), %edi
	movq	_xd_p_reg_ofsm_read_rbc_en@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_reg_ofsm_read_rbc_en_pos@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_reg_ofsm_read_rbc_en_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %r8
	callq	_af9005_read_register_bits
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	testb	$1, -20(%rbp)
	jne	LBB0_5
## %bb.4:
	movl	$1, (%r14)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_xd_p_fec_vtb_rsd_mon_en,4,2    ## @xd_p_fec_vtb_rsd_mon_en
	.comm	_fec_vtb_rsd_mon_en_pos,4,2     ## @fec_vtb_rsd_mon_en_pos
	.comm	_fec_vtb_rsd_mon_en_len,4,2     ## @fec_vtb_rsd_mon_en_len
	.comm	_xd_p_reg_ofsm_read_rbc_en,4,2  ## @xd_p_reg_ofsm_read_rbc_en
	.comm	_reg_ofsm_read_rbc_en_pos,4,2   ## @reg_ofsm_read_rbc_en_pos
	.comm	_reg_ofsm_read_rbc_en_len,4,2   ## @reg_ofsm_read_rbc_en_len
	.no_dead_strip	_af9005_is_fecmon_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9005_is_fecmon_available
_af9005_is_fecmon_available:            ; @af9005_is_fecmon_available
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	x20, [x0]
	str	wzr, [x1]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _xd_p_fec_vtb_rsd_mon_en@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xd_p_fec_vtb_rsd_mon_en@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _fec_vtb_rsd_mon_en_pos@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fec_vtb_rsd_mon_en_pos@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _fec_vtb_rsd_mon_en_len@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fec_vtb_rsd_mon_en_len@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #12
	bl	_af9005_read_register_bits
	cbnz	w0, LBB0_6
; %bb.1:
	ldrb	w8, [sp, #12]
	tbnz	w8, #0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _xd_p_reg_ofsm_read_rbc_en@GOTPAGE
Lloh10:
	ldr	x8, [x8, _xd_p_reg_ofsm_read_rbc_en@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _reg_ofsm_read_rbc_en_pos@GOTPAGE
Lloh13:
	ldr	x8, [x8, _reg_ofsm_read_rbc_en_pos@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _reg_ofsm_read_rbc_en_len@GOTPAGE
Lloh16:
	ldr	x8, [x8, _reg_ofsm_read_rbc_en_len@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	add	x4, sp, #12
	bl	_af9005_read_register_bits
	cbnz	w0, LBB0_6
; %bb.4:
	ldrb	w8, [sp, #12]
	tbnz	w8, #0, LBB0_2
; %bb.5:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_xd_p_fec_vtb_rsd_mon_en,4,2    ; @xd_p_fec_vtb_rsd_mon_en
	.comm	_fec_vtb_rsd_mon_en_pos,4,2     ; @fec_vtb_rsd_mon_en_pos
	.comm	_fec_vtb_rsd_mon_en_len,4,2     ; @fec_vtb_rsd_mon_en_len
	.comm	_xd_p_reg_ofsm_read_rbc_en,4,2  ; @xd_p_reg_ofsm_read_rbc_en
	.comm	_reg_ofsm_read_rbc_en_pos,4,2   ; @reg_ofsm_read_rbc_en_pos
	.comm	_reg_ofsm_read_rbc_en_len,4,2   ; @reg_ofsm_read_rbc_en_len
	.no_dead_strip	_af9005_is_fecmon_available
.subsections_via_symbols
