	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpld_led_reset_acpi
_cpld_led_reset_acpi:                   ## @cpld_led_reset_acpi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	_HNAE_MEDIA_TYPE_FIBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	_HNS_OP_LED_SET_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rdi), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_hns_dsaf_acpi_ledctrl_by_port  ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpld_led_reset mac_cb is null!\n"

	.comm	_HNAE_MEDIA_TYPE_FIBER,8,3      ## @HNAE_MEDIA_TYPE_FIBER
	.comm	_HNS_OP_LED_SET_FUNC,4,2        ## @HNS_OP_LED_SET_FUNC
	.no_dead_strip	_cpld_led_reset_acpi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpld_led_reset_acpi
_cpld_led_reset_acpi:                   ; @cpld_led_reset_acpi
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HNAE_MEDIA_TYPE_FIBER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HNAE_MEDIA_TYPE_FIBER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _HNS_OP_LED_SET_FUNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_OP_LED_SET_FUNC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x0, #8]
	mov	w2, #0
	mov	w4, #0
	b	_hns_dsaf_acpi_ledctrl_by_port
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_err
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpld_led_reset mac_cb is null!\n"

	.comm	_HNAE_MEDIA_TYPE_FIBER,8,3      ; @HNAE_MEDIA_TYPE_FIBER
	.comm	_HNS_OP_LED_SET_FUNC,4,2        ; @HNS_OP_LED_SET_FUNC
	.no_dead_strip	_cpld_led_reset_acpi
.subsections_via_symbols
