	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_mdc_clk_div
_macb_mdc_clk_div:                      ## @macb_mdc_clk_div
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_macb_is_gem
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gem_mdc_clk_div                ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	callq	_clk_get_rate
	cmpq	$20000000, %rax                 ## imm = 0x1312D00
	ja	LBB0_3
## %bb.2:
	movq	_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACB_CLK_DIV8@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	cmpq	$40000000, %rax                 ## imm = 0x2625A00
	ja	LBB0_5
## %bb.4:
	movq	_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACB_CLK_DIV16@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	$80000000, %rax                 ## imm = 0x4C4B400
	ja	LBB0_8
## %bb.6:
	movq	_MACB_CLK_DIV32@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	_MACB_CLK_DIV64@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MACB_BF                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CLK,4,2                        ## @CLK
	.comm	_MACB_CLK_DIV8,4,2              ## @MACB_CLK_DIV8
	.comm	_MACB_CLK_DIV16,4,2             ## @MACB_CLK_DIV16
	.comm	_MACB_CLK_DIV32,4,2             ## @MACB_CLK_DIV32
	.comm	_MACB_CLK_DIV64,4,2             ## @MACB_CLK_DIV64
	.no_dead_strip	_macb_mdc_clk_div
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_mdc_clk_div
_macb_mdc_clk_div:                      ; @macb_mdc_clk_div
	.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, x0
	bl	_macb_is_gem
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gem_mdc_clk_div
LBB0_2:
	ldr	w0, [x19]
	bl	_clk_get_rate
	mov	w8, #11520
	movk	w8, #305, lsl #16
	cmp	x0, x8
	b.hi	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _CLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MACB_CLK_DIV8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MACB_CLK_DIV8@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w8, #23040
	movk	w8, #610, lsl #16
	cmp	x0, x8
	b.hi	LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _CLK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _MACB_CLK_DIV16@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MACB_CLK_DIV16@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x8, _CLK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CLK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #46080
	movk	w9, #1220, lsl #16
	cmp	x0, x9
	b.hi	LBB0_9
; %bb.8:
Lloh13:
	adrp	x9, _MACB_CLK_DIV32@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MACB_CLK_DIV32@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x9, _MACB_CLK_DIV64@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MACB_CLK_DIV64@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x9]
	mov	x0, x8
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MACB_BF
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CLK,4,2                        ; @CLK
	.comm	_MACB_CLK_DIV8,4,2              ; @MACB_CLK_DIV8
	.comm	_MACB_CLK_DIV16,4,2             ; @MACB_CLK_DIV16
	.comm	_MACB_CLK_DIV32,4,2             ; @MACB_CLK_DIV32
	.comm	_MACB_CLK_DIV64,4,2             ; @MACB_CLK_DIV64
	.no_dead_strip	_macb_mdc_clk_div
.subsections_via_symbols
