	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_init                   ## -- Begin function mac_drv_init
	.p2align	4, 0x90
_mac_drv_init:                          ## @mac_drv_init
	.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	_HWM_E0001@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HWM_E0001_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SMT_PANIC
	movq	_HWM_E0002@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HWM_E0002_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_SMT_PANIC
	movq	_RXD_TXD_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$32, %rax
	movabsq	$4294967296, %rsi               ## imm = 0x100000000
	addq	%rax, %rsi
	shrq	$30, %rsi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mac_drv_get_desc_mem
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWM_E0001,4,2                  ## @HWM_E0001
	.comm	_HWM_E0001_MSG,4,2              ## @HWM_E0001_MSG
	.comm	_HWM_E0002,4,2                  ## @HWM_E0002
	.comm	_HWM_E0002_MSG,4,2              ## @HWM_E0002_MSG
	.comm	_RXD_TXD_COUNT,8,3              ## @RXD_TXD_COUNT
	.comm	_MAX_MBUF,4,2                   ## @MAX_MBUF
	.comm	_mb_start,8,3                   ## @mb_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_init                   ; -- Begin function mac_drv_init
	.p2align	2
_mac_drv_init:                          ; @mac_drv_init
	.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, _HWM_E0001@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWM_E0001@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HWM_E0001_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWM_E0001_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_SMT_PANIC
Lloh6:
	adrp	x8, _HWM_E0002@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWM_E0002@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _HWM_E0002_MSG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HWM_E0002_MSG@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_SMT_PANIC
Lloh12:
	adrp	x8, _RXD_TXD_COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXD_TXD_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	x9, #4294967296
	add	x8, x9, x8, lsl #32
	lsr	x1, x8, #30
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_mac_drv_get_desc_mem
	str	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	x8, [x19, #8]
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWM_E0001,4,2                  ; @HWM_E0001
	.comm	_HWM_E0001_MSG,4,2              ; @HWM_E0001_MSG
	.comm	_HWM_E0002,4,2                  ; @HWM_E0002
	.comm	_HWM_E0002_MSG,4,2              ; @HWM_E0002_MSG
	.comm	_RXD_TXD_COUNT,8,3              ; @RXD_TXD_COUNT
	.comm	_MAX_MBUF,4,2                   ; @MAX_MBUF
	.comm	_mb_start,8,3                   ; @mb_start
.subsections_via_symbols
