	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_xgmac_config               ## -- Begin function hns_xgmac_config
	.p2align	4, 0x90
_hns_xgmac_config:                      ## @hns_xgmac_config
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$160, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_hns_xgmac_init@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 152(%rax)
	movq	_hns_xgmac_enable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 148(%rax)
	movq	_hns_xgmac_disable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 144(%rax)
	movups	(%r14), %xmm0
	movups	%xmm0, 128(%rax)
	movq	%rbx, 120(%rax)
	movq	_hns_xgmac_set_pausefrm_mac_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 112(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 96(%rax)
	movq	_hns_xgmac_config_pad_and_crc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 88(%rax)
	movq	$0, 80(%rax)
	movq	_hns_xgmac_set_rx_ignore_pause_frames@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 76(%rax)
	movq	_hns_xgmac_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rax)
	movq	$0, 64(%rax)
	movq	_hns_xgmac_set_tx_auto_pause_frames@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movq	_hns_xgmac_config_max_frame_length@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rax)
	movq	_hns_xgmac_pausefrm_cfg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	$0, 40(%rax)
	movq	_hns_xgmac_get_info@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_hns_xgmac_get_pausefrm_cfg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_hns_xgmac_get_link_status@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_hns_xgmac_get_regs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_hns_xgmac_get_stats@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_hns_xgmac_get_sset_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_hns_xgmac_get_regs_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_hns_xgmac_get_strings@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_hns_xgmac_update_stats@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_hns_xgmac_init,4,2             ## @hns_xgmac_init
	.comm	_hns_xgmac_enable,4,2           ## @hns_xgmac_enable
	.comm	_hns_xgmac_disable,4,2          ## @hns_xgmac_disable
	.comm	_hns_xgmac_set_pausefrm_mac_addr,4,2 ## @hns_xgmac_set_pausefrm_mac_addr
	.comm	_hns_xgmac_config_pad_and_crc,4,2 ## @hns_xgmac_config_pad_and_crc
	.comm	_hns_xgmac_set_rx_ignore_pause_frames,4,2 ## @hns_xgmac_set_rx_ignore_pause_frames
	.comm	_hns_xgmac_free,4,2             ## @hns_xgmac_free
	.comm	_hns_xgmac_set_tx_auto_pause_frames,4,2 ## @hns_xgmac_set_tx_auto_pause_frames
	.comm	_hns_xgmac_config_max_frame_length,4,2 ## @hns_xgmac_config_max_frame_length
	.comm	_hns_xgmac_pausefrm_cfg,4,2     ## @hns_xgmac_pausefrm_cfg
	.comm	_hns_xgmac_get_info,4,2         ## @hns_xgmac_get_info
	.comm	_hns_xgmac_get_pausefrm_cfg,4,2 ## @hns_xgmac_get_pausefrm_cfg
	.comm	_hns_xgmac_get_link_status,4,2  ## @hns_xgmac_get_link_status
	.comm	_hns_xgmac_get_regs,4,2         ## @hns_xgmac_get_regs
	.comm	_hns_xgmac_get_stats,4,2        ## @hns_xgmac_get_stats
	.comm	_hns_xgmac_get_sset_count,4,2   ## @hns_xgmac_get_sset_count
	.comm	_hns_xgmac_get_regs_count,4,2   ## @hns_xgmac_get_regs_count
	.comm	_hns_xgmac_get_strings,4,2      ## @hns_xgmac_get_strings
	.comm	_hns_xgmac_update_stats,4,2     ## @hns_xgmac_update_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_xgmac_config               ; -- Begin function hns_xgmac_config
	.p2align	2
_hns_xgmac_config:                      ; @hns_xgmac_config
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #160
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _hns_xgmac_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hns_xgmac_init@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #152]
Lloh6:
	adrp	x8, _hns_xgmac_enable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hns_xgmac_enable@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _hns_xgmac_disable@GOTPAGE
Lloh10:
	ldr	x9, [x9, _hns_xgmac_disable@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #144]
	ldr	q0, [x20]
	str	q0, [x0, #128]
	str	x19, [x0, #120]
Lloh12:
	adrp	x8, _hns_xgmac_set_pausefrm_mac_addr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hns_xgmac_set_pausefrm_mac_addr@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0, #112]
	stp	xzr, xzr, [x0, #96]
Lloh15:
	adrp	x8, _hns_xgmac_config_pad_and_crc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hns_xgmac_config_pad_and_crc@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x0, #88]
	str	xzr, [x0, #80]
Lloh18:
	adrp	x8, _hns_xgmac_set_rx_ignore_pause_frames@GOTPAGE
Lloh19:
	ldr	x8, [x8, _hns_xgmac_set_rx_ignore_pause_frames@GOTPAGEOFF]
Lloh20:
	adrp	x9, _hns_xgmac_free@GOTPAGE
Lloh21:
	ldr	x9, [x9, _hns_xgmac_free@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #72]
Lloh24:
	adrp	x8, _hns_xgmac_set_tx_auto_pause_frames@GOTPAGE
Lloh25:
	ldr	x8, [x8, _hns_xgmac_set_tx_auto_pause_frames@GOTPAGEOFF]
	str	xzr, [x0, #64]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x0, #56]
Lloh27:
	adrp	x8, _hns_xgmac_config_max_frame_length@GOTPAGE
Lloh28:
	ldr	x8, [x8, _hns_xgmac_config_max_frame_length@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _hns_xgmac_pausefrm_cfg@GOTPAGE
Lloh31:
	ldr	x9, [x9, _hns_xgmac_pausefrm_cfg@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
	str	xzr, [x0, #40]
Lloh33:
	adrp	x8, _hns_xgmac_get_info@GOTPAGE
Lloh34:
	ldr	x8, [x8, _hns_xgmac_get_info@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh36:
	adrp	x8, _hns_xgmac_get_pausefrm_cfg@GOTPAGE
Lloh37:
	ldr	x8, [x8, _hns_xgmac_get_pausefrm_cfg@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _hns_xgmac_get_link_status@GOTPAGE
Lloh40:
	ldr	x9, [x9, _hns_xgmac_get_link_status@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh42:
	adrp	x8, _hns_xgmac_get_regs@GOTPAGE
Lloh43:
	ldr	x8, [x8, _hns_xgmac_get_regs@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _hns_xgmac_get_stats@GOTPAGE
Lloh46:
	ldr	x9, [x9, _hns_xgmac_get_stats@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh48:
	adrp	x8, _hns_xgmac_get_sset_count@GOTPAGE
Lloh49:
	ldr	x8, [x8, _hns_xgmac_get_sset_count@GOTPAGEOFF]
Lloh50:
	adrp	x9, _hns_xgmac_get_regs_count@GOTPAGE
Lloh51:
	ldr	x9, [x9, _hns_xgmac_get_regs_count@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh54:
	adrp	x8, _hns_xgmac_get_strings@GOTPAGE
Lloh55:
	ldr	x8, [x8, _hns_xgmac_get_strings@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _hns_xgmac_update_stats@GOTPAGE
Lloh58:
	ldr	x9, [x9, _hns_xgmac_update_stats@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
LBB0_2:
	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 AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_hns_xgmac_init,4,2             ; @hns_xgmac_init
	.comm	_hns_xgmac_enable,4,2           ; @hns_xgmac_enable
	.comm	_hns_xgmac_disable,4,2          ; @hns_xgmac_disable
	.comm	_hns_xgmac_set_pausefrm_mac_addr,4,2 ; @hns_xgmac_set_pausefrm_mac_addr
	.comm	_hns_xgmac_config_pad_and_crc,4,2 ; @hns_xgmac_config_pad_and_crc
	.comm	_hns_xgmac_set_rx_ignore_pause_frames,4,2 ; @hns_xgmac_set_rx_ignore_pause_frames
	.comm	_hns_xgmac_free,4,2             ; @hns_xgmac_free
	.comm	_hns_xgmac_set_tx_auto_pause_frames,4,2 ; @hns_xgmac_set_tx_auto_pause_frames
	.comm	_hns_xgmac_config_max_frame_length,4,2 ; @hns_xgmac_config_max_frame_length
	.comm	_hns_xgmac_pausefrm_cfg,4,2     ; @hns_xgmac_pausefrm_cfg
	.comm	_hns_xgmac_get_info,4,2         ; @hns_xgmac_get_info
	.comm	_hns_xgmac_get_pausefrm_cfg,4,2 ; @hns_xgmac_get_pausefrm_cfg
	.comm	_hns_xgmac_get_link_status,4,2  ; @hns_xgmac_get_link_status
	.comm	_hns_xgmac_get_regs,4,2         ; @hns_xgmac_get_regs
	.comm	_hns_xgmac_get_stats,4,2        ; @hns_xgmac_get_stats
	.comm	_hns_xgmac_get_sset_count,4,2   ; @hns_xgmac_get_sset_count
	.comm	_hns_xgmac_get_regs_count,4,2   ; @hns_xgmac_get_regs_count
	.comm	_hns_xgmac_get_strings,4,2      ; @hns_xgmac_get_strings
	.comm	_hns_xgmac_update_stats,4,2     ; @hns_xgmac_update_stats
.subsections_via_symbols
