	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_start                  ## -- Begin function hns_mac_start
	.p2align	4, 0x90
_hns_mac_start:                         ## @hns_mac_start
	.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, %r14
	callq	_hns_mac_get_drv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_MAC_EN_FLAG_V@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.1:
	incl	8(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movq	_MAC_COMM_MODE_RX_AND_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*%rax
	movq	(%r15), %rax
	movq	%rax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_EN_FLAG_V,8,3              ## @MAC_EN_FLAG_V
	.comm	_MAC_COMM_MODE_RX_AND_TX,4,2    ## @MAC_COMM_MODE_RX_AND_TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_start                  ; -- Begin function hns_mac_start
	.p2align	2
_hns_mac_start:                         ; @hns_mac_start
	.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	x20, x0
	bl	_hns_mac_get_drv
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _MAC_EN_FLAG_V@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAC_EN_FLAG_V@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
Lloh2:
	adrp	x9, _MAC_COMM_MODE_RX_AND_TX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAC_COMM_MODE_RX_AND_TX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	blr	x8
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_EN_FLAG_V,8,3              ; @MAC_EN_FLAG_V
	.comm	_MAC_COMM_MODE_RX_AND_TX,4,2    ; @MAC_COMM_MODE_RX_AND_TX
.subsections_via_symbols
