	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_get_port_info          ## -- Begin function hns_mac_get_port_info
	.p2align	4, 0x90
_hns_mac_get_port_info:                 ## @hns_mac_get_port_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_hns_mac_get_drv
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	*%rcx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_4:
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movl	-36(%rbp), %eax
	movl	%eax, (%r15)
LBB0_6:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	-40(%rbp), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_get_port_info          ; -- Begin function hns_mac_get_port_info
	.p2align	2
_hns_mac_get_port_info:                 ; @hns_mac_get_port_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_hns_mac_get_drv
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x1, sp
	blr	x8
	cbz	x21, LBB0_3
; %bb.2:
	ldr	w8, [sp, #8]
	str	w8, [x21]
LBB0_3:
	cbz	x20, LBB0_5
; %bb.4:
	ldr	w8, [sp, #4]
	str	w8, [x20]
LBB0_5:
	mov	w0, #0
	cbz	x19, LBB0_8
; %bb.6:
	ldr	w8, [sp]
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
