	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad8801_spi_write
_ad8801_spi_write:                      ## @ad8801_spi_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_AD8801_CFG_ADDR_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	%rdi, %rbx
	orl	%edx, %esi
	movzbl	%sil, %edi
	callq	_cpu_to_be16
	movl	%eax, (%rbx)
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spi_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AD8801_CFG_ADDR_OFFSET,1,0     ## @AD8801_CFG_ADDR_OFFSET
	.no_dead_strip	_ad8801_spi_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad8801_spi_write
_ad8801_spi_write:                      ; @ad8801_spi_write
	.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, _AD8801_CFG_ADDR_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD8801_CFG_ADDR_OFFSET@GOTPAGEOFF]
	ldrb	w8, [x8]
	lsl	w8, w1, w8
	orr	w8, w8, w2
	and	w0, w8, #0xff
	bl	_cpu_to_be16
	str	w0, [x19]
	ldr	w0, [x19, #4]
	mov	x1, x19
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spi_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AD8801_CFG_ADDR_OFFSET,1,0     ; @AD8801_CFG_ADDR_OFFSET
	.no_dead_strip	_ad8801_spi_write
.subsections_via_symbols
