	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsxx_read_hw_log               ## -- Begin function rsxx_read_hw_log
	.p2align	4, 0x90
_rsxx_read_hw_log:                      ## @rsxx_read_hw_log
	.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	%rdi, %r14
	movq	_CREG_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CREG_ADD_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %r8d
	movq	_read_hw_log_done@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$4, %ecx
	movl	$1, %r9d
	pushq	$0
	pushq	%rax
	callq	_creg_queue_cmd
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_CARD_TO_DEV
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CREG_OP_READ,4,2               ## @CREG_OP_READ
	.comm	_CREG_ADD_LOG,4,2               ## @CREG_ADD_LOG
	.comm	_read_hw_log_done,4,2           ## @read_hw_log_done
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed getting log text\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsxx_read_hw_log               ; -- Begin function rsxx_read_hw_log
	.p2align	2
_rsxx_read_hw_log:                      ; @rsxx_read_hw_log
	.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, x0
Lloh0:
	adrp	x8, _CREG_OP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CREG_OP_READ@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CREG_ADD_LOG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CREG_ADD_LOG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	ldr	w4, [x0]
Lloh6:
	adrp	x8, _read_hw_log_done@GOTPAGE
Lloh7:
	ldr	x8, [x8, _read_hw_log_done@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	mov	w3, #4
	mov	w5, #1
	mov	x7, #0
	bl	_creg_queue_cmd
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_CARD_TO_DEV
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CREG_OP_READ,4,2               ; @CREG_OP_READ
	.comm	_CREG_ADD_LOG,4,2               ; @CREG_ADD_LOG
	.comm	_read_hw_log_done,4,2           ; @read_hw_log_done
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed getting log text\n"

.subsections_via_symbols
