	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max2175_read_rom
_max2175_read_rom:                      ## @max2175_read_rom
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -20(%rbp)
	movl	$56, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_max2175_write_bit
	movq	%rbx, %rdi
	movl	$56, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	movl	%r14d, %r8d
	callq	_max2175_write_bits
	movl	$2000, %edi                     ## imm = 0x7D0
	movl	$2500, %esi                     ## imm = 0x9C4
	callq	_usleep_range
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_max2175_read
	movq	%rbx, %rdi
	movl	$56, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_max2175_write_bits
	movl	-20(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_mxm_dbg
	movl	-20(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read_rom: row %d data 0x%02x\n"

	.no_dead_strip	_max2175_read_rom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max2175_read_rom
_max2175_read_rom:                      ; @max2175_read_rom
	.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
	mov	x20, x0
	str	wzr, [sp, #12]
	mov	w1, #56
	mov	w2, #4
	mov	w3, #0
	bl	_max2175_write_bit
	mov	x0, x20
	mov	w1, #56
	mov	w2, #3
	mov	w3, #0
	mov	x4, x19
	bl	_max2175_write_bits
	mov	w0, #2000
	mov	w1, #2500
	bl	_usleep_range
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #58
	bl	_max2175_read
	mov	x0, x20
	mov	w1, #56
	mov	w2, #3
	mov	w3, #0
	mov	w4, #0
	bl	_max2175_write_bits
	ldr	w3, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_mxm_dbg
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read_rom: row %d data 0x%02x\n"

	.no_dead_strip	_max2175_read_rom
.subsections_via_symbols
