	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mhz_mfc_config_check
_mhz_mfc_config_check:                  ## @mhz_mfc_config_check
	.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	%rdi, %r14
	movl	$16, (%rdi)
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	$8, 4(%rax)
	movq	_IO_DATA_PATH_WIDTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	movl	8(%rax), %esi
	andl	%edx, %esi
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	movl	%esi, 8(%rax)
	movl	$16, 4(%rcx)
	andl	8(%rcx), %edx
	movq	_IO_DATA_PATH_WIDTH_AUTO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 8(%rcx)
	movl	$-16, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1008, %ebx                     ## imm = 0x3F0
	jae	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	$16, %ebx
	testb	$-128, %bl
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %eax
	xorl	$768, %eax                      ## imm = 0x300
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ## @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ## @IO_DATA_PATH_WIDTH_AUTO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_mhz_mfc_config_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mhz_mfc_config_check
_mhz_mfc_config_check:                  ; @mhz_mfc_config_check
	.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
	mov	w8, #16
	str	w8, [x0]
	ldr	x9, [x0, #8]
	ldp	x10, x9, [x9]
	ldr	w11, [x10]
	mov	w12, #8
Lloh0:
	adrp	x13, _IO_DATA_PATH_WIDTH@GOTPAGE
Lloh1:
	ldr	x13, [x13, _IO_DATA_PATH_WIDTH@GOTPAGEOFF]
	stp	w11, w12, [x9]
Lloh2:
	ldr	w11, [x13]
	ldr	w12, [x9, #8]
	bic	w12, w12, w11
Lloh3:
	adrp	x13, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh4:
	ldr	x13, [x13, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	orr	w12, w13, w12
	str	w12, [x9, #8]
	ldr	w9, [x10, #8]
Lloh6:
	adrp	x12, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGE
Lloh7:
	ldr	x12, [x12, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGEOFF]
	bic	w9, w9, w11
Lloh8:
	ldr	w11, [x12]
	orr	w9, w11, w9
	stp	w8, w9, [x10, #4]
	mov	w20, #-16
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #1008
	b.hs	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #16
	tbnz	w20, #7, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	eor	w8, w20, #0x300
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	str	w8, [x9]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbnz	w0, LBB0_1
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ; @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ; @IO_DATA_PATH_WIDTH_AUTO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_mhz_mfc_config_check
.subsections_via_symbols
