	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cduty_tx_s_duty_cycle
_cduty_tx_s_duty_cycle:                 ## @cduty_tx_s_duty_cycle
	.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	%rdi, %r14
	imull	$100, %esi, %edi
	movl	$625, %esi                      ## imm = 0x271
	callq	_DIV_ROUND_CLOSEST
	cmpl	$16, %eax
	movl	$16, %ebx
	cmovll	%eax, %ebx
	decl	%ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	movq	_CX23888_IR_CDUTY_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_cx23888_ir_write4
	imull	$100, %ebx, %edi
	addl	$100, %edi
	movl	$16, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX23888_IR_CDUTY_REG,4,2       ## @CX23888_IR_CDUTY_REG
	.no_dead_strip	_cduty_tx_s_duty_cycle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cduty_tx_s_duty_cycle
_cduty_tx_s_duty_cycle:                 ; @cduty_tx_s_duty_cycle
	.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	x19, x0
	mov	w21, #100
	mul	w0, w1, w21
	mov	w1, #625
	bl	_DIV_ROUND_CLOSEST
	mov	w8, #16
	cmp	w0, #16
	csel	w8, w0, w8, lt
	sub	w8, w8, #1
	cmp	w0, #0
	csel	w20, wzr, w8, eq
Lloh0:
	adrp	x8, _CX23888_IR_CDUTY_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX23888_IR_CDUTY_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_cx23888_ir_write4
	mul	w8, w20, w21
	add	w0, w8, #100
	mov	w1, #16
	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	_DIV_ROUND_CLOSEST
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX23888_IR_CDUTY_REG,4,2       ; @CX23888_IR_CDUTY_REG
	.no_dead_strip	_cduty_tx_s_duty_cycle
.subsections_via_symbols
