	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_set_streamparm
_sd_set_streamparm:                     ## @sd_set_streamparm
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cltd
	idivl	%ecx
	jmp	LBB0_4
LBB0_2:
	movq	_DEFAULT_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, (%rbx)
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_set_frame_rate
	movl	(%rbx), %eax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	movl	$1, (%r14)
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_FRAME_RATE,4,2         ## @DEFAULT_FRAME_RATE
	.no_dead_strip	_sd_set_streamparm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_set_streamparm
_sd_set_streamparm:                     ; @sd_set_streamparm
	.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, x1
	mov	x20, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_3
; %bb.2:
	sdiv	w8, w9, w8
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _DEFAULT_FRAME_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_FRAME_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
LBB0_4:
	str	w8, [x20]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_set_frame_rate
	ldr	w8, [x20]
LBB0_6:
	mov	w9, #1
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_FRAME_RATE,4,2         ; @DEFAULT_FRAME_RATE
	.no_dead_strip	_sd_set_streamparm
.subsections_via_symbols
