	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmr2_isa_match
_fmr2_isa_match:                        ## @fmr2_isa_match
	.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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_FMR2_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fmr2_probe
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movq	_fmr2_cards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_num_fmr2_cards@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movq	%rbx, (%rax,%rdx,8)
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_FMR2_PORT,4,2                  ## @FMR2_PORT
	.comm	_fmr2_cards,8,3                 ## @fmr2_cards
	.comm	_num_fmr2_cards,4,2             ## @num_fmr2_cards
	.no_dead_strip	_fmr2_isa_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmr2_isa_match
_fmr2_isa_match:                        ; @fmr2_isa_match
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _FMR2_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FMR2_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_fmr2_probe
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
Lloh6:
	adrp	x8, _fmr2_cards@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fmr2_cards@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _num_fmr2_cards@GOTPAGE
Lloh10:
	ldr	x9, [x9, _num_fmr2_cards@GOTPAGEOFF]
	ldrsw	x10, [x9]
	add	w11, w10, #1
	str	w11, [x9]
	str	x19, [x8, x10, lsl #3]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_FMR2_PORT,4,2                  ; @FMR2_PORT
	.comm	_fmr2_cards,8,3                 ; @fmr2_cards
	.comm	_num_fmr2_cards,4,2             ; @num_fmr2_cards
	.no_dead_strip	_fmr2_isa_match
.subsections_via_symbols
