	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mhz_mfc_config
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mhz_mfc_config:                        ## @mhz_mfc_config
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rdi, -40(%rbp)
	movq	48(%rdi), %r12
	movq	%r12, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_CONF_ENABLE_SPKR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%rbx)
	movq	_CCSR_AUDIO_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IRQ_TYPE_DYNAMIC_SHARING@GOTPCREL(%rip), %rax
	movq	_IRQ_FIRST_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IRQ_HANDLE_PRESENT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 40(%rbx)
	movl	$16, 24(%rbx)
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	$8, 28(%rbx)
	movq	_mhz_mfc_config_check@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pcmcia_loop_config
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movl	32(%rbx), %eax
	movl	%eax, (%r12)
	movq	_WIN_DATA_WIDTH_8@GOTPCREL(%rip), %rax
	movq	_WIN_MEMORY_TYPE_AM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WIN_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movq	$0, -72(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_pcmcia_request_window
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	-88(%rbp), %rsi
	movq	-80(%rbp), %rdi
	callq	_ioremap
	movl	%eax, 16(%r14)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%r14), %rcx
	movq	_MANFID_MOTOROLA@GOTPCREL(%rip), %rdx
	movq	-40(%rbp), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)
LBB0_6:
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_pcmcia_map_mem_page
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	(%r14), %rax
	movq	_MANFID_MEGAHERTZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	8(%r14), %rax
	movq	_PRODID_MEGAHERTZ_EM3288@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	-40(%rbp), %rdi
	callq	_mhz_3288_power
LBB0_10:
	movq	%r15, %rdi
	callq	_kfree
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_11:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONF_ENABLE_SPKR,4,2           ## @CONF_ENABLE_SPKR
	.comm	_CCSR_AUDIO_ENA,4,2             ## @CCSR_AUDIO_ENA
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ## @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_FIRST_SHARED,4,2           ## @IRQ_FIRST_SHARED
	.comm	_IRQ_HANDLE_PRESENT,4,2         ## @IRQ_HANDLE_PRESENT
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_mhz_mfc_config_check,4,2       ## @mhz_mfc_config_check
	.comm	_WIN_DATA_WIDTH_8,4,2           ## @WIN_DATA_WIDTH_8
	.comm	_WIN_MEMORY_TYPE_AM,4,2         ## @WIN_MEMORY_TYPE_AM
	.comm	_WIN_ENABLE,4,2                 ## @WIN_ENABLE
	.comm	_MANFID_MOTOROLA,8,3            ## @MANFID_MOTOROLA
	.comm	_MANFID_MEGAHERTZ,8,3           ## @MANFID_MEGAHERTZ
	.comm	_PRODID_MEGAHERTZ_EM3288,8,3    ## @PRODID_MEGAHERTZ_EM3288
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_mhz_mfc_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mhz_mfc_config
lCPI0_0:
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mhz_mfc_config:                        ; @mhz_mfc_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
	stur	x0, [x29, #-40]
	ldr	x22, [x0, #48]
	mov	x0, x22
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _CONF_ENABLE_SPKR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONF_ENABLE_SPKR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21, #20]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _CCSR_AUDIO_ENA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCSR_AUDIO_ENA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh9:
	adrp	x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGEOFF]
Lloh11:
	adrp	x9, _IRQ_FIRST_SHARED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQ_FIRST_SHARED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _IRQ_HANDLE_PRESENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IRQ_HANDLE_PRESENT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #36]
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21, #24]
Lloh23:
	adrp	x8, _mhz_mfc_config_check@GOTPAGE
Lloh24:
	ldr	x8, [x8, _mhz_mfc_config_check@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_pcmcia_loop_config
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	w8, [x21, #32]
	str	w8, [x22]
Lloh26:
	adrp	x8, _WIN_DATA_WIDTH_8@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WIN_DATA_WIDTH_8@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _WIN_MEMORY_TYPE_AM@GOTPAGE
Lloh30:
	ldr	x9, [x9, _WIN_MEMORY_TYPE_AM@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh32:
	adrp	x9, _WIN_ENABLE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _WIN_ENABLE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #24]
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #32]
	sub	x0, x29, #40
	add	x1, sp, #24
	mov	x2, x21
	bl	_pcmcia_request_window
	cbnz	w0, LBB0_9
; %bb.3:
	ldp	x1, x0, [sp, #32]
	bl	_ioremap
	str	w0, [x20, #16]
	stp	xzr, xzr, [sp, #8]
	ldr	x9, [x20]
Lloh35:
	adrp	x8, _MANFID_MOTOROLA@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MANFID_MOTOROLA@GOTPAGEOFF]
Lloh37:
	ldr	x10, [x8]
	ldur	x8, [x29, #-40]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x8, #8]
	str	x9, [sp, #8]
LBB0_5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_pcmcia_map_mem_page
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x20]
Lloh38:
	adrp	x9, _MANFID_MEGAHERTZ@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MANFID_MEGAHERTZ@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x20, #8]
Lloh41:
	adrp	x9, _PRODID_MEGAHERTZ_EM3288@GOTPAGE
Lloh42:
	ldr	x9, [x9, _PRODID_MEGAHERTZ_EM3288@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldur	x0, [x29, #-40]
	bl	_mhz_3288_power
LBB0_9:
	mov	x0, x19
	bl	_kfree
Lloh44:
	adrp	x8, _ENODEV@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONF_ENABLE_SPKR,4,2           ; @CONF_ENABLE_SPKR
	.comm	_CCSR_AUDIO_ENA,4,2             ; @CCSR_AUDIO_ENA
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ; @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_FIRST_SHARED,4,2           ; @IRQ_FIRST_SHARED
	.comm	_IRQ_HANDLE_PRESENT,4,2         ; @IRQ_HANDLE_PRESENT
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_mhz_mfc_config_check,4,2       ; @mhz_mfc_config_check
	.comm	_WIN_DATA_WIDTH_8,4,2           ; @WIN_DATA_WIDTH_8
	.comm	_WIN_MEMORY_TYPE_AM,4,2         ; @WIN_MEMORY_TYPE_AM
	.comm	_WIN_ENABLE,4,2                 ; @WIN_ENABLE
	.comm	_MANFID_MOTOROLA,8,3            ; @MANFID_MOTOROLA
	.comm	_MANFID_MEGAHERTZ,8,3           ; @MANFID_MEGAHERTZ
	.comm	_PRODID_MEGAHERTZ_EM3288,8,3    ; @PRODID_MEGAHERTZ_EM3288
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_mhz_mfc_config
.subsections_via_symbols
