	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bluecard_probe
_bluecard_probe:                        ## @bluecard_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%rax)
	movq	%rax, 40(%rbx)
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movl	$8, 32(%rbx)
	movq	_IRQ_TYPE_DYNAMIC_SHARING@GOTPCREL(%rip), %rcx
	movq	_IRQ_HANDLE_PRESENT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, 8(%rbx)
	movq	_IRQ_LEVEL_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_bluecard_interrupt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_INT_MEMORY_AND_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bluecard_config                ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ## @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_HANDLE_PRESENT,4,2         ## @IRQ_HANDLE_PRESENT
	.comm	_IRQ_LEVEL_ID,4,2               ## @IRQ_LEVEL_ID
	.comm	_bluecard_interrupt,4,2         ## @bluecard_interrupt
	.comm	_CONF_ENABLE_IRQ,4,2            ## @CONF_ENABLE_IRQ
	.comm	_INT_MEMORY_AND_IO,4,2          ## @INT_MEMORY_AND_IO
	.no_dead_strip	_bluecard_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bluecard_probe
_bluecard_probe:                        ; @bluecard_probe
	.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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w20, #8
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	str	x19, [x0]
Lloh3:
	adrp	x8, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
	str	x0, [x19, #40]
Lloh5:
	ldr	w8, [x8]
	stp	w20, w8, [x19, #32]
Lloh6:
	adrp	x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IRQ_HANDLE_PRESENT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IRQ_HANDLE_PRESENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh12:
	adrp	x8, _IRQ_LEVEL_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_LEVEL_ID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _bluecard_interrupt@GOTPAGE
Lloh16:
	ldr	x9, [x9, _bluecard_interrupt@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	str	x0, [x19, #16]
Lloh18:
	adrp	x8, _CONF_ENABLE_IRQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CONF_ENABLE_IRQ@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _INT_MEMORY_AND_IO@GOTPAGE
Lloh22:
	ldr	x9, [x9, _INT_MEMORY_AND_IO@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bluecard_config
LBB0_2:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ; @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_HANDLE_PRESENT,4,2         ; @IRQ_HANDLE_PRESENT
	.comm	_IRQ_LEVEL_ID,4,2               ; @IRQ_LEVEL_ID
	.comm	_bluecard_interrupt,4,2         ; @bluecard_interrupt
	.comm	_CONF_ENABLE_IRQ,4,2            ; @CONF_ENABLE_IRQ
	.comm	_INT_MEMORY_AND_IO,4,2          ; @INT_MEMORY_AND_IO
	.no_dead_strip	_bluecard_probe
.subsections_via_symbols
