	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_port_number
_hclge_get_port_number:                 ## @hclge_get_port_number
	.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	_HOST_PORT@GOTPCREL(%rip), %rbx
	cmpl	%edi, (%rbx)
	jne	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movl	%esi, %eax
	movq	_HCLGE_PF_ID_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HCLGE_PF_ID_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_hnae3_set_field
	movq	_HCLGE_VF_ID_S@GOTPCREL(%rip), %rax
	movq	_HCLGE_VF_ID_M@GOTPCREL(%rip), %rdx
	movl	%r14d, %ecx
	jmp	LBB0_3
LBB0_1:
	movq	_NETWORK_PORT@GOTPCREL(%rip), %rbx
	movq	_HCLGE_NETWORK_PORT_ID_S@GOTPCREL(%rip), %rax
	movq	_HCLGE_NETWORK_PORT_ID_M@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rdx), %esi
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_hnae3_set_field
	movq	_HCLGE_PORT_TYPE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	xorl	%edi, %edi
	callq	_hnae3_set_bit
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_PORT,4,2                  ## @HOST_PORT
	.comm	_HCLGE_PF_ID_M,4,2              ## @HCLGE_PF_ID_M
	.comm	_HCLGE_PF_ID_S,4,2              ## @HCLGE_PF_ID_S
	.comm	_HCLGE_VF_ID_M,4,2              ## @HCLGE_VF_ID_M
	.comm	_HCLGE_VF_ID_S,4,2              ## @HCLGE_VF_ID_S
	.comm	_HCLGE_PORT_TYPE_B,4,2          ## @HCLGE_PORT_TYPE_B
	.comm	_HCLGE_NETWORK_PORT_ID_M,4,2    ## @HCLGE_NETWORK_PORT_ID_M
	.comm	_HCLGE_NETWORK_PORT_ID_S,4,2    ## @HCLGE_NETWORK_PORT_ID_S
	.comm	_NETWORK_PORT,4,2               ## @NETWORK_PORT
	.no_dead_strip	_hclge_get_port_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_get_port_number
_hclge_get_port_number:                 ; @hclge_get_port_number
	.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
Lloh0:
	adrp	x9, _HOST_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HOST_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x8, x1
Lloh3:
	adrp	x9, _HCLGE_PF_ID_M@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HCLGE_PF_ID_M@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _HCLGE_PF_ID_S@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HCLGE_PF_ID_S@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	mov	w0, #0
	mov	x3, x8
	bl	_hnae3_set_field
Lloh9:
	adrp	x20, _HOST_PORT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _HOST_PORT@GOTPAGEOFF]
Lloh11:
	adrp	x8, _HCLGE_VF_ID_S@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HCLGE_VF_ID_S@GOTPAGEOFF]
	mov	x3, x19
Lloh13:
	adrp	x9, _HCLGE_VF_ID_M@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HCLGE_VF_ID_M@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x20, _NETWORK_PORT@GOTPAGE
Lloh16:
	ldr	x20, [x20, _NETWORK_PORT@GOTPAGEOFF]
Lloh17:
	adrp	x8, _HCLGE_NETWORK_PORT_ID_S@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HCLGE_NETWORK_PORT_ID_S@GOTPAGEOFF]
Lloh19:
	adrp	x9, _HCLGE_NETWORK_PORT_ID_M@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HCLGE_NETWORK_PORT_ID_M@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	w0, #0
	bl	_hnae3_set_field
Lloh21:
	adrp	x8, _HCLGE_PORT_TYPE_B@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HCLGE_PORT_TYPE_B@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	w0, #0
	bl	_hnae3_set_bit
	mov	w0, #0
	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 AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_PORT,4,2                  ; @HOST_PORT
	.comm	_HCLGE_PF_ID_M,4,2              ; @HCLGE_PF_ID_M
	.comm	_HCLGE_PF_ID_S,4,2              ; @HCLGE_PF_ID_S
	.comm	_HCLGE_VF_ID_M,4,2              ; @HCLGE_VF_ID_M
	.comm	_HCLGE_VF_ID_S,4,2              ; @HCLGE_VF_ID_S
	.comm	_HCLGE_PORT_TYPE_B,4,2          ; @HCLGE_PORT_TYPE_B
	.comm	_HCLGE_NETWORK_PORT_ID_M,4,2    ; @HCLGE_NETWORK_PORT_ID_M
	.comm	_HCLGE_NETWORK_PORT_ID_S,4,2    ; @HCLGE_NETWORK_PORT_ID_S
	.comm	_NETWORK_PORT,4,2               ; @NETWORK_PORT
	.no_dead_strip	_hclge_get_port_number
.subsections_via_symbols
