	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_ssp_set_dai_pll
_pxa_ssp_set_dai_pll:                   ## @pxa_ssp_set_dai_pll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	_SSACD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ssp_read_reg
	andl	$-113, %eax
	cmpl	$12234999, %ebx                 ## imm = 0xBAB0F7
	jle	LBB0_1
## %bb.5:
	cmpl	$32841999, %ebx                 ## imm = 0x1F5210F
	jg	LBB0_9
## %bb.6:
	cmpl	$12235000, %ebx                 ## imm = 0xBAB0F8
	je	LBB0_13
## %bb.7:
	cmpl	$14857000, %ebx                 ## imm = 0xE2B328
	jne	LBB0_12
## %bb.8:
	orl	$48, %eax
	jmp	LBB0_14
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.2:
	cmpl	$5622000, %ebx                  ## imm = 0x55C8F0
	je	LBB0_14
## %bb.3:
	cmpl	$11345000, %ebx                 ## imm = 0xAD1C68
	jne	LBB0_12
## %bb.4:
	orl	$16, %eax
	jmp	LBB0_14
LBB0_9:
	cmpl	$32842000, %ebx                 ## imm = 0x1F52110
	je	LBB0_16
## %bb.10:
	cmpl	$48000000, %ebx                 ## imm = 0x2DC6C00
	jne	LBB0_12
## %bb.11:
	orl	$80, %eax
	jmp	LBB0_14
LBB0_13:
	orl	$32, %eax
	jmp	LBB0_14
LBB0_16:
	orl	$64, %eax
LBB0_14:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ssp_write_reg
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_SSACD,4,2                      ## @SSACD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SSACDD,4,2                     ## @SSACDD
	.no_dead_strip	_pxa_ssp_set_dai_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_ssp_set_dai_pll
_pxa_ssp_set_dai_pll:                   ; @pxa_ssp_set_dai_pll
	.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, x3
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x21, _SSACD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SSACD@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ssp_read_reg
	and	w2, w0, #0xffffff8f
	mov	w8, #45303
	movk	w8, #186, lsl #16
	cmp	w20, w8
	b.le	LBB0_5
; %bb.1:
	mov	w8, #8463
	movk	w8, #501, lsl #16
	cmp	w20, w8
	b.gt	LBB0_9
; %bb.2:
	mov	w8, #45304
	movk	w8, #186, lsl #16
	cmp	w20, w8
	b.eq	LBB0_12
; %bb.3:
	mov	w8, #45864
	movk	w8, #226, lsl #16
	cmp	w20, w8
	b.ne	LBB0_16
; %bb.4:
	orr	w2, w2, #0x30
	b	LBB0_14
LBB0_5:
	cbz	w20, LBB0_14
; %bb.6:
	mov	w8, #51440
	movk	w8, #85, lsl #16
	cmp	w20, w8
	b.eq	LBB0_14
; %bb.7:
	mov	w8, #7272
	movk	w8, #173, lsl #16
	cmp	w20, w8
	b.ne	LBB0_16
; %bb.8:
	orr	w2, w2, #0x10
	b	LBB0_14
LBB0_9:
	mov	w8, #8464
	movk	w8, #501, lsl #16
	cmp	w20, w8
	b.eq	LBB0_13
; %bb.10:
	mov	w8, #27648
	movk	w8, #732, lsl #16
	cmp	w20, w8
	b.ne	LBB0_16
; %bb.11:
	mov	w8, #80
	orr	w2, w2, w8
	b	LBB0_14
LBB0_12:
	orr	w2, w2, #0x20
	b	LBB0_14
LBB0_13:
	orr	w2, w2, #0x40
LBB0_14:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ssp_write_reg
	mov	w0, #0
LBB0_15:
	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
	ret
LBB0_16:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SSACD,4,2                      ; @SSACD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SSACDD,4,2                     ; @SSACDD
	.no_dead_strip	_pxa_ssp_set_dai_pll
.subsections_via_symbols
