	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_gmac_config                ## -- Begin function hns_gmac_config
	.p2align	4, 0x90
_hns_gmac_config:                       ## @hns_gmac_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	$136, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_hns_gmac_init@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 128(%rax)
	movq	_hns_gmac_enable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 124(%rax)
	movq	_hns_gmac_disable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 120(%rax)
	movq	_hns_gmac_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 116(%rax)
	movq	_hns_gmac_adjust_link@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 112(%rax)
	movq	_hns_gmac_need_adjust_link@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 108(%rax)
	movq	_hns_gmac_set_tx_auto_pause_frames@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 104(%rax)
	movq	_hns_gmac_config_max_frame_length@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rax)
	movq	_hns_gmac_pause_frm_cfg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 96(%rax)
	movups	(%r14), %xmm0
	movups	%xmm0, 80(%rax)
	movq	%rbx, 72(%rax)
	movq	_hns_gmac_set_mac_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%rax)
	movq	_hns_gmac_config_an_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rax)
	movq	_hns_gmac_config_loopback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rax)
	movq	_hns_gmac_config_pad_and_crc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movq	_hns_gmac_set_duplex_type@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rax)
	movq	_hns_gmac_set_rx_auto_pause_frames@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	_hns_gmac_get_info@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	movq	_hns_gmac_autoneg_stat@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movq	_hns_gmac_get_pausefrm_cfg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movq	_hns_gmac_get_link_status@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_hns_gmac_get_regs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_hns_gmac_get_regs_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_hns_gmac_get_stats@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_hns_gmac_get_sset_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_hns_gmac_get_strings@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_hns_gmac_update_stats@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_hns_gmac_set_promisc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_hns_gmac_wait_fifo_clean@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_gmac_init,4,2              ## @hns_gmac_init
	.comm	_hns_gmac_enable,4,2            ## @hns_gmac_enable
	.comm	_hns_gmac_disable,4,2           ## @hns_gmac_disable
	.comm	_hns_gmac_free,4,2              ## @hns_gmac_free
	.comm	_hns_gmac_adjust_link,4,2       ## @hns_gmac_adjust_link
	.comm	_hns_gmac_need_adjust_link,4,2  ## @hns_gmac_need_adjust_link
	.comm	_hns_gmac_set_tx_auto_pause_frames,4,2 ## @hns_gmac_set_tx_auto_pause_frames
	.comm	_hns_gmac_config_max_frame_length,4,2 ## @hns_gmac_config_max_frame_length
	.comm	_hns_gmac_pause_frm_cfg,4,2     ## @hns_gmac_pause_frm_cfg
	.comm	_hns_gmac_set_mac_addr,4,2      ## @hns_gmac_set_mac_addr
	.comm	_hns_gmac_config_an_mode,4,2    ## @hns_gmac_config_an_mode
	.comm	_hns_gmac_config_loopback,4,2   ## @hns_gmac_config_loopback
	.comm	_hns_gmac_config_pad_and_crc,4,2 ## @hns_gmac_config_pad_and_crc
	.comm	_hns_gmac_set_duplex_type,4,2   ## @hns_gmac_set_duplex_type
	.comm	_hns_gmac_set_rx_auto_pause_frames,4,2 ## @hns_gmac_set_rx_auto_pause_frames
	.comm	_hns_gmac_get_info,4,2          ## @hns_gmac_get_info
	.comm	_hns_gmac_autoneg_stat,4,2      ## @hns_gmac_autoneg_stat
	.comm	_hns_gmac_get_pausefrm_cfg,4,2  ## @hns_gmac_get_pausefrm_cfg
	.comm	_hns_gmac_get_link_status,4,2   ## @hns_gmac_get_link_status
	.comm	_hns_gmac_get_regs,4,2          ## @hns_gmac_get_regs
	.comm	_hns_gmac_get_regs_count,4,2    ## @hns_gmac_get_regs_count
	.comm	_hns_gmac_get_stats,4,2         ## @hns_gmac_get_stats
	.comm	_hns_gmac_get_sset_count,4,2    ## @hns_gmac_get_sset_count
	.comm	_hns_gmac_get_strings,4,2       ## @hns_gmac_get_strings
	.comm	_hns_gmac_update_stats,4,2      ## @hns_gmac_update_stats
	.comm	_hns_gmac_set_promisc,4,2       ## @hns_gmac_set_promisc
	.comm	_hns_gmac_wait_fifo_clean,4,2   ## @hns_gmac_wait_fifo_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_gmac_config                ; -- Begin function hns_gmac_config
	.p2align	2
_hns_gmac_config:                       ; @hns_gmac_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, #136
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _hns_gmac_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hns_gmac_init@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #128]
Lloh6:
	adrp	x8, _hns_gmac_enable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hns_gmac_enable@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _hns_gmac_disable@GOTPAGE
Lloh10:
	ldr	x9, [x9, _hns_gmac_disable@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #120]
Lloh12:
	adrp	x8, _hns_gmac_free@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hns_gmac_free@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _hns_gmac_adjust_link@GOTPAGE
Lloh16:
	ldr	x9, [x9, _hns_gmac_adjust_link@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _hns_gmac_need_adjust_link@GOTPAGE
Lloh19:
	ldr	x10, [x10, _hns_gmac_need_adjust_link@GOTPAGEOFF]
	stp	w9, w8, [x0, #112]
Lloh20:
	ldr	w8, [x10]
Lloh21:
	adrp	x9, _hns_gmac_set_tx_auto_pause_frames@GOTPAGE
Lloh22:
	ldr	x9, [x9, _hns_gmac_set_tx_auto_pause_frames@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #104]
Lloh24:
	adrp	x8, _hns_gmac_config_max_frame_length@GOTPAGE
Lloh25:
	ldr	x8, [x8, _hns_gmac_config_max_frame_length@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _hns_gmac_pause_frm_cfg@GOTPAGE
Lloh28:
	ldr	x9, [x9, _hns_gmac_pause_frm_cfg@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
	ldr	q0, [x20]
	str	q0, [x0, #80]
	str	x19, [x0, #72]
Lloh30:
	adrp	x8, _hns_gmac_set_mac_addr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _hns_gmac_set_mac_addr@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _hns_gmac_config_an_mode@GOTPAGE
Lloh34:
	ldr	x9, [x9, _hns_gmac_config_an_mode@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #64]
Lloh36:
	adrp	x8, _hns_gmac_config_loopback@GOTPAGE
Lloh37:
	ldr	x8, [x8, _hns_gmac_config_loopback@GOTPAGEOFF]
Lloh38:
	adrp	x9, _hns_gmac_config_pad_and_crc@GOTPAGE
Lloh39:
	ldr	x9, [x9, _hns_gmac_config_pad_and_crc@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #56]
Lloh42:
	adrp	x8, _hns_gmac_set_duplex_type@GOTPAGE
Lloh43:
	ldr	x8, [x8, _hns_gmac_set_duplex_type@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _hns_gmac_set_rx_auto_pause_frames@GOTPAGE
Lloh46:
	ldr	x9, [x9, _hns_gmac_set_rx_auto_pause_frames@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
Lloh48:
	adrp	x8, _hns_gmac_get_info@GOTPAGE
Lloh49:
	ldr	x8, [x8, _hns_gmac_get_info@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _hns_gmac_autoneg_stat@GOTPAGE
Lloh52:
	ldr	x9, [x9, _hns_gmac_autoneg_stat@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh54:
	adrp	x8, _hns_gmac_get_pausefrm_cfg@GOTPAGE
Lloh55:
	ldr	x8, [x8, _hns_gmac_get_pausefrm_cfg@GOTPAGEOFF]
Lloh56:
	adrp	x9, _hns_gmac_get_link_status@GOTPAGE
Lloh57:
	ldr	x9, [x9, _hns_gmac_get_link_status@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
Lloh60:
	adrp	x8, _hns_gmac_get_regs@GOTPAGE
Lloh61:
	ldr	x8, [x8, _hns_gmac_get_regs@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
Lloh63:
	adrp	x9, _hns_gmac_get_regs_count@GOTPAGE
Lloh64:
	ldr	x9, [x9, _hns_gmac_get_regs_count@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh66:
	adrp	x8, _hns_gmac_get_stats@GOTPAGE
Lloh67:
	ldr	x8, [x8, _hns_gmac_get_stats@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _hns_gmac_get_sset_count@GOTPAGE
Lloh70:
	ldr	x9, [x9, _hns_gmac_get_sset_count@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh72:
	adrp	x8, _hns_gmac_get_strings@GOTPAGE
Lloh73:
	ldr	x8, [x8, _hns_gmac_get_strings@GOTPAGEOFF]
Lloh74:
	adrp	x9, _hns_gmac_update_stats@GOTPAGE
Lloh75:
	ldr	x9, [x9, _hns_gmac_update_stats@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh78:
	adrp	x8, _hns_gmac_set_promisc@GOTPAGE
Lloh79:
	ldr	x8, [x8, _hns_gmac_set_promisc@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
Lloh81:
	adrp	x9, _hns_gmac_wait_fifo_clean@GOTPAGE
Lloh82:
	ldr	x9, [x9, _hns_gmac_wait_fifo_clean@GOTPAGEOFF]
Lloh83:
	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	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh76
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh58
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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_gmac_init,4,2              ; @hns_gmac_init
	.comm	_hns_gmac_enable,4,2            ; @hns_gmac_enable
	.comm	_hns_gmac_disable,4,2           ; @hns_gmac_disable
	.comm	_hns_gmac_free,4,2              ; @hns_gmac_free
	.comm	_hns_gmac_adjust_link,4,2       ; @hns_gmac_adjust_link
	.comm	_hns_gmac_need_adjust_link,4,2  ; @hns_gmac_need_adjust_link
	.comm	_hns_gmac_set_tx_auto_pause_frames,4,2 ; @hns_gmac_set_tx_auto_pause_frames
	.comm	_hns_gmac_config_max_frame_length,4,2 ; @hns_gmac_config_max_frame_length
	.comm	_hns_gmac_pause_frm_cfg,4,2     ; @hns_gmac_pause_frm_cfg
	.comm	_hns_gmac_set_mac_addr,4,2      ; @hns_gmac_set_mac_addr
	.comm	_hns_gmac_config_an_mode,4,2    ; @hns_gmac_config_an_mode
	.comm	_hns_gmac_config_loopback,4,2   ; @hns_gmac_config_loopback
	.comm	_hns_gmac_config_pad_and_crc,4,2 ; @hns_gmac_config_pad_and_crc
	.comm	_hns_gmac_set_duplex_type,4,2   ; @hns_gmac_set_duplex_type
	.comm	_hns_gmac_set_rx_auto_pause_frames,4,2 ; @hns_gmac_set_rx_auto_pause_frames
	.comm	_hns_gmac_get_info,4,2          ; @hns_gmac_get_info
	.comm	_hns_gmac_autoneg_stat,4,2      ; @hns_gmac_autoneg_stat
	.comm	_hns_gmac_get_pausefrm_cfg,4,2  ; @hns_gmac_get_pausefrm_cfg
	.comm	_hns_gmac_get_link_status,4,2   ; @hns_gmac_get_link_status
	.comm	_hns_gmac_get_regs,4,2          ; @hns_gmac_get_regs
	.comm	_hns_gmac_get_regs_count,4,2    ; @hns_gmac_get_regs_count
	.comm	_hns_gmac_get_stats,4,2         ; @hns_gmac_get_stats
	.comm	_hns_gmac_get_sset_count,4,2    ; @hns_gmac_get_sset_count
	.comm	_hns_gmac_get_strings,4,2       ; @hns_gmac_get_strings
	.comm	_hns_gmac_update_stats,4,2      ; @hns_gmac_update_stats
	.comm	_hns_gmac_set_promisc,4,2       ; @hns_gmac_set_promisc
	.comm	_hns_gmac_wait_fifo_clean,4,2   ; @hns_gmac_wait_fifo_clean
.subsections_via_symbols
