	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9150_gpadc_read_scale
_da9150_gpadc_read_scale:               ## @da9150_gpadc_read_scale
	.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 $edi killed $edi def $rdi
	leal	-129(%rdi), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.4:
	movl	$1000000, (%rsi)                ## imm = 0xF4240
	movl	$4420, (%rdx)                   ## imm = 0x1144
	jmp	LBB0_3
LBB0_1:
	cmpl	$128, %edi
	jne	LBB0_5
## %bb.2:
	movl	$2932, (%rsi)                   ## imm = 0xB74
	movl	$1000, (%rdx)                   ## imm = 0x3E8
LBB0_3:
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_da9150_gpadc_read_scale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9150_gpadc_read_scale
_da9150_gpadc_read_scale:               ; @da9150_gpadc_read_scale
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #129
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #16960
	movk	w8, #15, lsl #16
	str	w8, [x1]
	mov	w8, #4420
	b	LBB0_4
LBB0_2:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #2932
	str	w8, [x1]
	mov	w8, #1000
LBB0_4:
	str	w8, [x2]
Lloh0:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_da9150_gpadc_read_scale
.subsections_via_symbols
