	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxclk_rx_s_max_pulse_width
_rxclk_rx_s_max_pulse_width:            ## @rxclk_rx_s_max_pulse_width
	.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
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_IR_MAX_DURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	%rsi, %rdi
	cmovgeq	%rsi, %rdi
	callq	_ns_to_pulse_clocks
	movl	%eax, %edi
	callq	_pulse_clocks_to_clock_divider
	movl	%eax, (%rbx)
	movq	_CX25840_IR_RXCLK_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_cx25840_write4
	movq	_FIFO_RXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pulse_width_count_to_ns
	cltq
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IR_MAX_DURATION,8,3            ## @IR_MAX_DURATION
	.comm	_CX25840_IR_RXCLK_REG,4,2       ## @CX25840_IR_RXCLK_REG
	.comm	_FIFO_RXTX,4,2                  ## @FIFO_RXTX
	.no_dead_strip	_rxclk_rx_s_max_pulse_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxclk_rx_s_max_pulse_width
_rxclk_rx_s_max_pulse_width:            ; @rxclk_rx_s_max_pulse_width
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _IR_MAX_DURATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IR_MAX_DURATION@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	csel	x0, x8, x1, lt
	bl	_ns_to_pulse_clocks
	bl	_pulse_clocks_to_clock_divider
	mov	x2, x0
	str	w0, [x19]
Lloh3:
	adrp	x8, _CX25840_IR_RXCLK_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX25840_IR_RXCLK_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cx25840_write4
Lloh6:
	adrp	x8, _FIFO_RXTX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIFO_RXTX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_pulse_width_count_to_ns
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IR_MAX_DURATION,8,3            ; @IR_MAX_DURATION
	.comm	_CX25840_IR_RXCLK_REG,4,2       ; @CX25840_IR_RXCLK_REG
	.comm	_FIFO_RXTX,4,2                  ; @FIFO_RXTX
	.no_dead_strip	_rxclk_rx_s_max_pulse_width
.subsections_via_symbols
