	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sz_push_full_pulse
_sz_push_full_pulse:                    ## @sz_push_full_pulse
	.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, %r14d
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	20(%rbx), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	callq	_ktime_get_real
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %esi
	movl	%eax, %edi
	callq	_ktime_us_delta
	movq	_USEC_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_4
## %bb.3:
	movq	_IR_MAX_DURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	8(%rbx), %rax
	jmp	LBB0_6
LBB0_4:
	subl	8(%rbx), %eax
	movl	%eax, %edi
	callq	_US_TO_NS
	movslq	%eax, %rsi
	movq	_IR_MAX_DURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, %rax
	cmovbq	%rax, %rsi
LBB0_5:
	shlq	$32, %rsi
	movq	%rbx, %rdi
	callq	_sz_push
	movl	$0, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	movzbl	%r14b, %ecx
	movq	_SZ_RESOLUTION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	%edx, %ecx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	addl	%ecx, %esi
	movslq	%esi, %rdi
	addq	%rdi, %rax
	movq	%rax, 8(%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_US_TO_NS
	movslq	%eax, %rsi
	movq	_IR_MAX_DURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, %rax
	cmovbq	%rax, %rsi
	shlq	$32, %rsi
	orq	$1, %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sz_push                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USEC_PER_SEC,4,2               ## @USEC_PER_SEC
	.comm	_IR_MAX_DURATION,8,3            ## @IR_MAX_DURATION
	.comm	_SZ_RESOLUTION,4,2              ## @SZ_RESOLUTION
	.no_dead_strip	_sz_push_full_pulse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sz_push_full_pulse
_sz_push_full_pulse:                    ; @sz_push_full_pulse
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _IR_MAX_DURATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IR_MAX_DURATION@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x19, #20]
	str	w8, [x19, #16]
	bl	_ktime_get_real
	str	w0, [x19, #20]
	ldr	w1, [x19, #16]
	bl	_ktime_us_delta
Lloh2:
	adrp	x8, _USEC_PER_SEC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USEC_PER_SEC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w9, w8, #4
	sub	w8, w9, w8
	cmp	w0, w8
	b.le	LBB0_4
; %bb.2:
	ldr	x8, [x21]
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #8]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x19, #8]
	sub	w0, w0, w8
	bl	_US_TO_NS
	sxtw	x8, w0
	ldr	x9, [x21]
	cmp	x9, x8
	csel	x8, x9, x8, lo
LBB0_5:
	lsl	x1, x8, #32
	mov	x0, x19
	bl	_sz_push
	mov	x8, #0
	str	wzr, [x19]
LBB0_6:
Lloh5:
	adrp	x9, _SZ_RESOLUTION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SZ_RESOLUTION@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mul	w10, w9, w20
	cmp	w9, #0
	cinc	w9, w9, lt
	add	w0, w10, w9, asr #1
	add	x8, x8, w0, sxtw
	str	x8, [x19, #8]
	bl	_US_TO_NS
	sxtw	x8, w0
	ldr	x9, [x21]
	cmp	x9, x8
	csel	x8, x9, x8, lo
	mov	w1, #1
	bfi	x1, x8, #32, #32
	mov	x0, x19
	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
	b	_sz_push
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_USEC_PER_SEC,4,2               ; @USEC_PER_SEC
	.comm	_IR_MAX_DURATION,8,3            ; @IR_MAX_DURATION
	.comm	_SZ_RESOLUTION,4,2              ; @SZ_RESOLUTION
	.no_dead_strip	_sz_push_full_pulse
.subsections_via_symbols
