	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxrs450_write_raw
_adxrs450_write_raw:                    ## @adxrs450_write_raw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	cmpq	$128, %r8
	jne	LBB0_2
## %bb.1:
	leal	-1024(%rdx), %eax
	cmpl	$-2049, %eax                    ## imm = 0xF7FF
	ja	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_ADXRS450_DNC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_adxrs450_spi_write_reg_16      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ADXRS450_DNC1,4,2              ## @ADXRS450_DNC1
	.no_dead_strip	_adxrs450_write_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxrs450_write_raw
_adxrs450_write_raw:                    ; @adxrs450_write_raw
	.cfi_startproc
; %bb.0:
	cmp	x4, #128
	b.ne	LBB0_2
; %bb.1:
	sub	w8, w2, #1024
	cmn	w8, #2049
	b.hi	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
Lloh3:
	adrp	x8, _ADXRS450_DNC1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADXRS450_DNC1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_adxrs450_spi_write_reg_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ADXRS450_DNC1,4,2              ; @ADXRS450_DNC1
	.no_dead_strip	_adxrs450_write_raw
.subsections_via_symbols
