	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_baseline_state
_set_baseline_state:                    ## @set_baseline_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	(%rbx), %eax
	leaq	4(%rbx), %r12
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	movl	%eax, (%r12)
	jmp	LBB0_4
LBB0_1:
	cmpl	$0, (%r12)
	je	LBB0_2
LBB0_4:
	movq	_NETDEV_LED_MODE_LINKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	_NETDEV_LED_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_LED_OFF@GOTPCREL(%rip), %r12
LBB0_7:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_led_set_brightness
	movq	_NETDEV_LED_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	_NETDEV_LED_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_10:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_led_set_brightness             ## TAILCALL
LBB0_2:
	movl	8(%rbx), %eax
	jmp	LBB0_3
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_LED_MODE_LINKUP,4,2     ## @NETDEV_LED_MODE_LINKUP
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.comm	_NETDEV_LED_LINK,4,2            ## @NETDEV_LED_LINK
	.comm	_NETDEV_LED_TX,4,2              ## @NETDEV_LED_TX
	.comm	_NETDEV_LED_RX,4,2              ## @NETDEV_LED_RX
	.no_dead_strip	_set_baseline_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_baseline_state
_set_baseline_state:                    ; @set_baseline_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x20, [x0, #8]
	mov	x22, x20
	ldr	w8, [x22], #4
	cbz	w8, LBB0_2
LBB0_1:
	str	w8, [x22]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x22]
	cbz	w8, LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _NETDEV_LED_MODE_LINKUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_LED_MODE_LINKUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x19, #4
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _NETDEV_LED_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_LED_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
Lloh6:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x22, eq
	ldr	w1, [x8]
	mov	x0, x20
	bl	_led_set_brightness
Lloh8:
	adrp	x8, _NETDEV_LED_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_LED_TX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _NETDEV_LED_RX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETDEV_LED_RX@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_9
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_delayed_work
LBB0_7:
Lloh14:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_led_set_brightness
LBB0_8:
	ldr	w8, [x20, #8]
	b	LBB0_1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_LED_MODE_LINKUP,4,2     ; @NETDEV_LED_MODE_LINKUP
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_NETDEV_LED_LINK,4,2            ; @NETDEV_LED_LINK
	.comm	_NETDEV_LED_TX,4,2              ; @NETDEV_LED_TX
	.comm	_NETDEV_LED_RX,4,2              ; @NETDEV_LED_RX
	.no_dead_strip	_set_baseline_state
.subsections_via_symbols
