	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5523_set_ledsteady
_ar5523_set_ledsteady:                  ## @ar5523_set_ledsteady
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_cpu_to_be32
	movq	%rax, -32(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_be32
	movq	%rax, -40(%rbp)
	movq	_UATH_LED_LINK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r15d, %r15d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ar5523_dbg
	movq	_WDCMSG_SET_LED_STEADY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movl	$16, %ecx
	xorl	%r8d, %r8d
	callq	_ar5523_cmd_write
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set %s led %s (steady)\n"

	.comm	_UATH_LED_LINK,4,2              ## @UATH_LED_LINK
L_.str.1:                               ## @.str.1
	.asciz	"link"

L_.str.2:                               ## @.str.2
	.asciz	"activity"

L_.str.3:                               ## @.str.3
	.asciz	"on"

L_.str.4:                               ## @.str.4
	.asciz	"off"

	.comm	_WDCMSG_SET_LED_STEADY,4,2      ## @WDCMSG_SET_LED_STEADY
	.no_dead_strip	_ar5523_set_ledsteady
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5523_set_ledsteady
_ar5523_set_ledsteady:                  ; @ar5523_set_ledsteady
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_cpu_to_be32
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_cpu_to_be32
	str	x0, [sp]
Lloh0:
	adrp	x8, _UATH_LED_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UATH_LED_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w20
	csel	x2, x10, x9, eq
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh9:
	adrp	x9, l_.str.4@PAGE
Lloh10:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w19, #0
	csel	x3, x9, x8, eq
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ar5523_dbg
Lloh13:
	adrp	x8, _WDCMSG_SET_LED_STEADY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WDCMSG_SET_LED_STEADY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x21
	mov	w3, #16
	mov	w4, #0
	bl	_ar5523_cmd_write
	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	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set %s led %s (steady)\n"

	.comm	_UATH_LED_LINK,4,2              ; @UATH_LED_LINK
l_.str.1:                               ; @.str.1
	.asciz	"link"

l_.str.2:                               ; @.str.2
	.asciz	"activity"

l_.str.3:                               ; @.str.3
	.asciz	"on"

l_.str.4:                               ; @.str.4
	.asciz	"off"

	.comm	_WDCMSG_SET_LED_STEADY,4,2      ; @WDCMSG_SET_LED_STEADY
	.no_dead_strip	_ar5523_set_ledsteady
.subsections_via_symbols
