	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_cardbus_io_window
_print_cardbus_io_window:               ## @print_cardbus_io_window
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %ebx
	movl	$2, %r13d
	movl	$2, %ecx
	callq	_read_config
	movq	_PCIM_CBBIO_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PCIM_CBBIO_32@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_1
## %bb.2:
	movl	$4, %r13d
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	$4, %ecx
	callq	_read_config
	movl	$32, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_1:
	movl	$16, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_3:
	movl	%eax, %edi
	callq	_PCI_CBBIOBASE
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_read_config
	movl	%eax, %edi
	callq	_PCI_CBBIOBASE
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_window                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIM_CBBIO_MASK,4,2            ## @PCIM_CBBIO_MASK
	.comm	_PCIM_CBBIO_32,4,2              ## @PCIM_CBBIO_32
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O Port"

	.no_dead_strip	_print_cardbus_io_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_cardbus_io_window
_print_cardbus_io_window:               ; @print_cardbus_io_window
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	w23, #2
	mov	w3, #2
	bl	_read_config
Lloh0:
	adrp	x8, _PCIM_CBBIO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIM_CBBIO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _PCIM_CBBIO_32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCIM_CBBIO_32@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w23, #4
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	w3, #4
	bl	_read_config
	mov	w24, #32
	b	LBB0_3
LBB0_2:
	mov	w24, #16
LBB0_3:
	bl	_PCI_CBBIOBASE
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_read_config
	bl	_PCI_CBBIOBASE
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x0
	mov	x0, x19
	mov	x2, x24
	mov	x3, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_print_window
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIM_CBBIO_MASK,4,2            ; @PCIM_CBBIO_MASK
	.comm	_PCIM_CBBIO_32,4,2              ; @PCIM_CBBIO_32
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O Port"

	.no_dead_strip	_print_cardbus_io_window
.subsections_via_symbols
