	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5h1420_send_burst
_s5h1420_send_burst:                    ## @s5h1420_send_burst
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	(%rdi), %r15
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_readreg
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_readreg
                                        ## kill: def $eax killed $eax def $rax
	andl	$112, %eax
	leal	1(%rax), %edx
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_writereg
	movq	_SEC_MINI_B@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_readreg
	orl	$4, %eax
	movq	%r15, %rdi
	movl	$59, %esi
	movl	%eax, %edx
	callq	_s5h1420_writereg
LBB0_2:
	movl	$15, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_readreg
	orl	$8, %eax
	movq	%r15, %rdi
	movl	$59, %esi
	movl	%eax, %edx
	callq	_s5h1420_writereg
	movq	_jiffies@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	addl	%edi, %eax
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_s5h1420_readreg
	testb	$8, %al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$5, %edi
	callq	_msleep
	movl	(%r12), %edi
	jmp	LBB0_3
LBB0_6:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_time_after
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovel	%ecx, %ebx
	movq	%r15, %rdi
	movl	$59, %esi
	movl	%r14d, %edx
	callq	_s5h1420_writereg
	movl	$15, %edi
	callq	_msleep
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_MINI_B,4,2                 ## @SEC_MINI_B
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_s5h1420_send_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5h1420_send_burst
_s5h1420_send_burst:                    ; @s5h1420_send_burst
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_readreg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_readreg
	and	w8, w0, #0x70
	orr	w2, w8, #0x1
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_writereg
Lloh0:
	adrp	x8, _SEC_MINI_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_MINI_B@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_readreg
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_writereg
LBB0_2:
	mov	w0, #15
	bl	_msleep
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_readreg
	orr	w2, w0, #0x8
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_writereg
Lloh3:
	adrp	x22, _jiffies@GOTPAGE
Lloh4:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	add	w8, w8, w0
	sxtw	x21, w8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	bl	_time_before
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #59
	bl	_s5h1420_readreg
	tbz	w0, #3, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #5
	bl	_msleep
	ldr	w0, [x22]
	b	LBB0_3
LBB0_6:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_time_after
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w21, wzr, w8, eq
	mov	x0, x19
	mov	w1, #59
	mov	x2, x20
	bl	_s5h1420_writereg
	mov	w0, #15
	bl	_msleep
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_MINI_B,4,2                 ; @SEC_MINI_B
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_s5h1420_send_burst
.subsections_via_symbols
