	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ipw_read_reg32
__ipw_read_reg32:                       ## @_ipw_read_reg32
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_IPW_DEBUG_IO
	movq	_IPW_INDIRECT_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	__ipw_write32
	movq	_IPW_INDIRECT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__ipw_read32
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_IPW_DEBUG_IO
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p : reg = 0x%08x\n"

	.comm	_IPW_INDIRECT_ADDR,4,2          ## @IPW_INDIRECT_ADDR
	.comm	_IPW_INDIRECT_DATA,4,2          ## @IPW_INDIRECT_DATA
L_.str.1:                               ## @.str.1
	.asciz	" reg = 0x%4X : value = 0x%4x\n"

	.no_dead_strip	__ipw_read_reg32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ipw_read_reg32
__ipw_read_reg32:                       ; @_ipw_read_reg32
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_IPW_DEBUG_IO
Lloh2:
	adrp	x8, _IPW_INDIRECT_ADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPW_INDIRECT_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	__ipw_write32
Lloh5:
	adrp	x8, _IPW_INDIRECT_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPW_INDIRECT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	__ipw_read32
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_IPW_DEBUG_IO
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p : reg = 0x%08x\n"

	.comm	_IPW_INDIRECT_ADDR,4,2          ; @IPW_INDIRECT_ADDR
	.comm	_IPW_INDIRECT_DATA,4,2          ; @IPW_INDIRECT_DATA
l_.str.1:                               ; @.str.1
	.asciz	" reg = 0x%4X : value = 0x%4x\n"

	.no_dead_strip	__ipw_read_reg32
.subsections_via_symbols
