	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_af9005_read_ofdm_register      ## -- Begin function af9005_read_ofdm_register
	.p2align	4, 0x90
_af9005_read_ofdm_register:             ## @af9005_read_ofdm_register
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_reg
	movq	_AF9005_CMD_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AF9005_OFDM_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %r8
	movl	$1, %r9d
	callq	_af9005_generic_read_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_reg
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_reg
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read register %x "

	.comm	_AF9005_CMD_READ,4,2            ## @AF9005_CMD_READ
	.comm	_AF9005_OFDM_REG,4,2            ## @AF9005_OFDM_REG
L_.str.1:                               ## @.str.1
	.asciz	"failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"value %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_af9005_read_ofdm_register      ; -- Begin function af9005_read_ofdm_register
	.p2align	2
_af9005_read_ofdm_register:             ; @af9005_read_ofdm_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_reg
Lloh2:
	adrp	x8, _AF9005_CMD_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF9005_CMD_READ@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _AF9005_OFDM_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AF9005_OFDM_REG@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #1
	bl	_af9005_generic_read_write
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_3:
	bl	_deb_reg
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read register %x "

	.comm	_AF9005_CMD_READ,4,2            ; @AF9005_CMD_READ
	.comm	_AF9005_OFDM_REG,4,2            ; @AF9005_OFDM_REG
l_.str.1:                               ; @.str.1
	.asciz	"failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"value %x\n"

.subsections_via_symbols
