	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7511_s_i2s_clock_freq
_adv7511_s_i2s_clock_freq:              ## @adv7511_s_i2s_clock_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$88199, %esi                    ## imm = 0x15887
	jle	LBB0_1
## %bb.6:
	cmpl	$176399, %esi                   ## imm = 0x2B10F
	jg	LBB0_10
## %bb.7:
	cmpl	$88200, %esi                    ## imm = 0x15888
	je	LBB0_13
## %bb.8:
	cmpl	$96000, %esi                    ## imm = 0x17700
	jne	LBB0_15
## %bb.9:
	movl	$160, %ecx
	jmp	LBB0_17
LBB0_1:
	cmpl	$32000, %esi                    ## imm = 0x7D00
	je	LBB0_2
## %bb.3:
	cmpl	$44100, %esi                    ## imm = 0xAC44
	je	LBB0_16
## %bb.4:
	cmpl	$48000, %esi                    ## imm = 0xBB80
	jne	LBB0_15
## %bb.5:
	movl	$32, %ecx
	jmp	LBB0_17
LBB0_10:
	cmpl	$176400, %esi                   ## imm = 0x2B110
	je	LBB0_14
## %bb.11:
	cmpl	$192000, %esi                   ## imm = 0x2EE00
	jne	LBB0_15
## %bb.12:
	movl	$224, %ecx
	jmp	LBB0_17
LBB0_13:
	movl	$128, %ecx
	jmp	LBB0_17
LBB0_2:
	movl	$48, %ecx
	jmp	LBB0_17
LBB0_14:
	movl	$192, %ecx
	jmp	LBB0_17
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_16:
	xorl	%ecx, %ecx
LBB0_17:
	movl	$21, %esi
	movl	$15, %edx
	callq	_adv7511_wr_and_or
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_adv7511_s_i2s_clock_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7511_s_i2s_clock_freq
_adv7511_s_i2s_clock_freq:              ; @adv7511_s_i2s_clock_freq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #22663
	movk	w8, #1, lsl #16
	cmp	w1, w8
	b.le	LBB0_5
; %bb.1:
	mov	w8, #45327
	movk	w8, #2, lsl #16
	cmp	w1, w8
	b.gt	LBB0_9
; %bb.2:
	mov	w8, #22664
	movk	w8, #1, lsl #16
	cmp	w1, w8
	b.eq	LBB0_12
; %bb.3:
	mov	w8, #30464
	movk	w8, #1, lsl #16
	cmp	w1, w8
	b.ne	LBB0_15
; %bb.4:
	mov	w3, #160
	b	LBB0_17
LBB0_5:
	mov	w8, #32000
	cmp	w1, w8
	b.eq	LBB0_13
; %bb.6:
	mov	w8, #44100
	cmp	w1, w8
	b.eq	LBB0_16
; %bb.7:
	mov	w8, #48000
	cmp	w1, w8
	b.ne	LBB0_15
; %bb.8:
	mov	w3, #32
	b	LBB0_17
LBB0_9:
	mov	w8, #45328
	movk	w8, #2, lsl #16
	cmp	w1, w8
	b.eq	LBB0_14
; %bb.10:
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w1, w8
	b.ne	LBB0_15
; %bb.11:
	mov	w3, #224
	b	LBB0_17
LBB0_12:
	mov	w3, #128
	b	LBB0_17
LBB0_13:
	mov	w3, #48
	b	LBB0_17
LBB0_14:
	mov	w3, #192
	b	LBB0_17
LBB0_15:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	w3, #0
LBB0_17:
	mov	w1, #21
	mov	w2, #15
	bl	_adv7511_wr_and_or
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_adv7511_s_i2s_clock_freq
.subsections_via_symbols
