	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fritzpci_probe
_fritzpci_probe:                        ## @fritzpci_probe
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%r14), %rax
	movq	_PCI_DEVICE_ID_AVM_A1_V2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_AVM_FRITZ_PCIV2@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	negl	%ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_10
LBB0_3:
	movq	_AVM_FRITZ_PCI@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r14, 8(%r15)
	movq	%r14, %rdi
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_10
LBB0_7:
	movq	(%r12), %rbx
	movq	%r14, %rdi
	callq	_pci_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_pr_notice
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_pci_resource_start
	movl	%eax, 4(%r15)
	movl	8(%r14), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pci_set_drvdata
	movq	%r15, %rdi
	callq	_setup_instance
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pci_set_drvdata
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No kmem for fritzcard\n"

	.comm	_PCI_DEVICE_ID_AVM_A1_V2,8,3    ## @PCI_DEVICE_ID_AVM_A1_V2
	.comm	_AVM_FRITZ_PCIV2,4,2            ## @AVM_FRITZ_PCIV2
	.comm	_AVM_FRITZ_PCI,4,2              ## @AVM_FRITZ_PCI
L_.str.1:                               ## @.str.1
	.asciz	"mISDN: found adapter %s at %s\n"

	.no_dead_strip	_fritzpci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fritzpci_probe
_fritzpci_probe:                        ; @fritzpci_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _PCI_DEVICE_ID_AVM_A1_V2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCI_DEVICE_ID_AVM_A1_V2@GOTPAGEOFF]
Lloh8:
	adrp	x10, _AVM_FRITZ_PCIV2@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AVM_FRITZ_PCIV2@GOTPAGEOFF]
Lloh10:
	adrp	x11, _AVM_FRITZ_PCI@GOTPAGE
Lloh11:
	ldr	x11, [x11, _AVM_FRITZ_PCI@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	x19, [x0, #8]
	mov	x0, x19
	bl	_pci_enable_device
	cbz	w0, LBB0_4
; %bb.2:
	mov	x22, x0
	mov	x0, x20
	bl	_kfree
	b	LBB0_6
LBB0_3:
	neg	w22, w22
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	b	LBB0_6
LBB0_4:
	ldr	x21, [x21]
	mov	x0, x19
	bl	_pci_name
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_notice
	mov	x0, x19
	mov	w1, #1
	bl	_pci_resource_start
	ldr	w8, [x19, #8]
	stp	w8, w0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	mov	x0, x20
	bl	_setup_instance
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, #0
	bl	_pci_set_drvdata
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No kmem for fritzcard\n"

	.comm	_PCI_DEVICE_ID_AVM_A1_V2,8,3    ; @PCI_DEVICE_ID_AVM_A1_V2
	.comm	_AVM_FRITZ_PCIV2,4,2            ; @AVM_FRITZ_PCIV2
	.comm	_AVM_FRITZ_PCI,4,2              ; @AVM_FRITZ_PCI
l_.str.1:                               ; @.str.1
	.asciz	"mISDN: found adapter %s at %s\n"

	.no_dead_strip	_fritzpci_probe
.subsections_via_symbols
