	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa5246a_stop_dau
_saa5246a_stop_dau:                     ## @saa5246a_stop_dau
	.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
	movl	%esi, %ebx
	movq	_NUM_DAUS@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jbe	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	_R2_IN_R3_SELECT_PAGE_HUNDREDS@GOTPCREL(%rip), %rax
	movl	%ebx, %edx
	shlb	$4, %dl
	orb	(%rax), %dl
	movq	_R2_BANK_0@GOTPCREL(%rip), %rax
	orb	(%rax), %dl
	movq	_R2_HAMMING_CHECK_OFF@GOTPCREL(%rip), %rax
	orb	(%rax), %dl
	movq	_R3_PAGE_HUNDREDS_0@GOTPCREL(%rip), %rax
	movq	_R3_HOLD_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SAA5246A_REGISTER_R2@GOTPCREL(%rip), %rax
	movq	_R3_PAGE_HUNDREDS_DO_NOT_CARE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	(%rax), %esi
	movq	_COMMAND_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movzbl	%dl, %edx
	callq	_i2c_senddata
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	(%r14), %rax
	movzbl	%bl, %ecx
	movl	$0, (%rax,%rcx,4)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_DAUS,1,0                   ## @NUM_DAUS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SAA5246A_REGISTER_R2,4,2       ## @SAA5246A_REGISTER_R2
	.comm	_R2_IN_R3_SELECT_PAGE_HUNDREDS,1,0 ## @R2_IN_R3_SELECT_PAGE_HUNDREDS
	.comm	_R2_BANK_0,1,0                  ## @R2_BANK_0
	.comm	_R2_HAMMING_CHECK_OFF,1,0       ## @R2_HAMMING_CHECK_OFF
	.comm	_R3_PAGE_HUNDREDS_0,4,2         ## @R3_PAGE_HUNDREDS_0
	.comm	_R3_HOLD_PAGE,4,2               ## @R3_HOLD_PAGE
	.comm	_R3_PAGE_HUNDREDS_DO_NOT_CARE,4,2 ## @R3_PAGE_HUNDREDS_DO_NOT_CARE
	.comm	_COMMAND_END,4,2                ## @COMMAND_END
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_saa5246a_stop_dau
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa5246a_stop_dau
_saa5246a_stop_dau:                     ; @saa5246a_stop_dau
	.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
Lloh0:
	adrp	x8, _NUM_DAUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_DAUS@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh2:
	adrp	x8, _SAA5246A_REGISTER_R2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SAA5246A_REGISTER_R2@GOTPAGEOFF]
Lloh4:
	adrp	x9, _R2_IN_R3_SELECT_PAGE_HUNDREDS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _R2_IN_R3_SELECT_PAGE_HUNDREDS@GOTPAGEOFF]
	ldrb	w9, [x9]
	ubfiz	w10, w1, #4, #4
	orr	w9, w9, w10
Lloh6:
	adrp	x10, _R2_BANK_0@GOTPAGE
Lloh7:
	ldr	x10, [x10, _R2_BANK_0@GOTPAGEOFF]
	ldrb	w10, [x10]
Lloh8:
	adrp	x11, _R2_HAMMING_CHECK_OFF@GOTPAGE
Lloh9:
	ldr	x11, [x11, _R2_HAMMING_CHECK_OFF@GOTPAGEOFF]
	orr	w9, w9, w10
	ldrb	w10, [x11]
	orr	w2, w9, w10
Lloh10:
	adrp	x9, _R3_PAGE_HUNDREDS_0@GOTPAGE
Lloh11:
	ldr	x9, [x9, _R3_PAGE_HUNDREDS_0@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _R3_HOLD_PAGE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _R3_HOLD_PAGE@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh16:
	adrp	x10, _R3_PAGE_HUNDREDS_DO_NOT_CARE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _R3_PAGE_HUNDREDS_DO_NOT_CARE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	ldr	w8, [x10]
	orr	w3, w9, w8
Lloh20:
	adrp	x8, _COMMAND_END@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COMMAND_END@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	bl	_i2c_senddata
	cbz	x0, LBB0_5
; %bb.2:
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	x8, [x20]
	str	wzr, [x8, w19, uxtw #2]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_DAUS,1,0                   ; @NUM_DAUS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SAA5246A_REGISTER_R2,4,2       ; @SAA5246A_REGISTER_R2
	.comm	_R2_IN_R3_SELECT_PAGE_HUNDREDS,1,0 ; @R2_IN_R3_SELECT_PAGE_HUNDREDS
	.comm	_R2_BANK_0,1,0                  ; @R2_BANK_0
	.comm	_R2_HAMMING_CHECK_OFF,1,0       ; @R2_HAMMING_CHECK_OFF
	.comm	_R3_PAGE_HUNDREDS_0,4,2         ; @R3_PAGE_HUNDREDS_0
	.comm	_R3_HOLD_PAGE,4,2               ; @R3_HOLD_PAGE
	.comm	_R3_PAGE_HUNDREDS_DO_NOT_CARE,4,2 ; @R3_PAGE_HUNDREDS_DO_NOT_CARE
	.comm	_COMMAND_END,4,2                ; @COMMAND_END
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_saa5246a_stop_dau
.subsections_via_symbols
