	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nozomi_get_card_type
_nozomi_get_card_type:                  ## @nozomi_get_card_type
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	xorl	%esi, %esi
	callq	_pci_resource_len
	movq	%rax, %r14
	movq	8(%r15), %rdi
	movl	$1, %esi
	callq	_pci_resource_len
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movq	8(%r15), %rdi
	movl	$2, %esi
	callq	_pci_resource_len
	movq	%rax, %r14
	addl	%ebx, %r14d
	movq	8(%r15), %rdi
	movl	$3, %esi
	callq	_pci_resource_len
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movq	8(%r15), %rdi
	movl	$4, %esi
	callq	_pci_resource_len
	movq	%rax, %r14
	addl	%ebx, %r14d
	movq	8(%r15), %rdi
	movl	$5, %esi
	callq	_pci_resource_len
	addl	%r14d, %eax
	cmpl	$2048, %eax                     ## imm = 0x800
	jne	LBB0_1
## %bb.2:
	movq	_F32_2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_F32_8@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movl	%edx, (%r15)
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_F32_2,4,2                      ## @F32_2
	.comm	_F32_8,4,2                      ## @F32_8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Card type is: %d\n"

	.no_dead_strip	_nozomi_get_card_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nozomi_get_card_type
_nozomi_get_card_type:                  ; @nozomi_get_card_type
	.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
	ldr	x0, [x0, #8]
	mov	w1, #0
	bl	_pci_resource_len
	mov	x20, x0
	ldr	x0, [x19, #8]
	mov	w1, #1
	bl	_pci_resource_len
	add	w20, w20, w0
	ldr	x0, [x19, #8]
	mov	w1, #2
	bl	_pci_resource_len
	add	w20, w20, w0
	ldr	x0, [x19, #8]
	mov	w1, #3
	bl	_pci_resource_len
	add	w20, w20, w0
	ldr	x0, [x19, #8]
	mov	w1, #4
	bl	_pci_resource_len
	add	w20, w20, w0
	ldr	x0, [x19, #8]
	mov	w1, #5
	bl	_pci_resource_len
	add	w8, w20, w0
Lloh0:
	adrp	x9, _F32_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F32_2@GOTPAGEOFF]
Lloh2:
	adrp	x10, _F32_8@GOTPAGE
Lloh3:
	ldr	x10, [x10, _F32_8@GOTPAGEOFF]
	cmp	w8, #2048
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	str	w2, [x19]
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_info
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_F32_2,4,2                      ; @F32_2
	.comm	_F32_8,4,2                      ; @F32_8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Card type is: %d\n"

	.no_dead_strip	_nozomi_get_card_type
.subsections_via_symbols
