	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_init_default_driver
_qlcnic_83xx_init_default_driver:       ## @qlcnic_83xx_init_default_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_qlcnic_83xx_get_minidump_template
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_get_port_info
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	negl	%r14d
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_config_buff_descriptors
	movq	_qlcnic_use_msi_x@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movq	(%rbx), %rax
	movl	%ecx, (%rax)
	movq	_QLCNIC_ADAPTER_INITIALIZED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%rbx)
	movq	8(%rbx), %rdi
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_qlcnic_use_msi_x,4,2           ## @qlcnic_use_msi_x
	.comm	_QLCNIC_ADAPTER_INITIALIZED,4,2 ## @QLCNIC_ADAPTER_INITIALIZED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HAL Version: %d\n"

	.no_dead_strip	_qlcnic_83xx_init_default_driver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_init_default_driver
_qlcnic_83xx_init_default_driver:       ; @qlcnic_83xx_init_default_driver
	.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, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_qlcnic_83xx_get_minidump_template
	mov	x0, x19
	bl	_qlcnic_83xx_get_port_info
	cbz	x0, LBB0_2
; %bb.1:
	neg	w0, w20
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_qlcnic_83xx_config_buff_descriptors
Lloh3:
	adrp	x8, _qlcnic_use_msi_x@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qlcnic_use_msi_x@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, ne
Lloh6:
	adrp	x9, _QLCNIC_ADAPTER_INITIALIZED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLCNIC_ADAPTER_INITIALIZED@GOTPAGEOFF]
	ldp	x10, x0, [x19]
	str	w8, [x10]
Lloh8:
	ldr	w8, [x9]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	ldr	w2, [x10, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w0, #0
LBB0_3:
	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 AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_qlcnic_use_msi_x,4,2           ; @qlcnic_use_msi_x
	.comm	_QLCNIC_ADAPTER_INITIALIZED,4,2 ; @QLCNIC_ADAPTER_INITIALIZED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HAL Version: %d\n"

	.no_dead_strip	_qlcnic_83xx_init_default_driver
.subsections_via_symbols
