	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00leds_register            ## -- Begin function rt2x00leds_register
	.p2align	4, 0x90
_rt2x00leds_register:                   ## @rt2x00leds_register
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	56(%rdi), %rax
	movl	(%rax), %edi
	callq	_wiphy_name
	movq	%rax, %r14
	movq	_LED_INITIALIZED@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	32(%rbx), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	movl	$36, %esi
	movq	%r14, %r8
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_rt2x00leds_register_led
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%r13), %eax
LBB0_3:
	testl	%eax, 40(%rbx)
	je	LBB0_6
## %bb.4:
	leaq	40(%rbx), %r15
	movq	32(%rbx), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	movl	$36, %esi
	movq	%r14, %r8
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_rt2x00leds_register_led
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movl	(%r13), %eax
LBB0_6:
	testl	%eax, 16(%rbx)
	je	LBB0_8
## %bb.7:
	leaq	16(%rbx), %r15
	movq	32(%rbx), %rax
	movq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rdx
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	movl	$36, %esi
	movq	%r14, %r8
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_rt2x00leds_register_led
	testl	%eax, %eax
	je	LBB0_8
LBB0_10:
	movq	%rbx, %rdi
	callq	_rt2x00leds_unregister
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	addq	$8, %rbx
	movq	$70, -112(%rbp)
	movq	$30, -104(%rbp)
	leaq	-112(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*%rax
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_INITIALIZED,4,2            ## @LED_INITIALIZED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s::radio"

L_.str.1:                               ## @.str.1
	.asciz	"%s-%s::assoc"

L_.str.2:                               ## @.str.2
	.asciz	"%s-%s::quality"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00leds_register            ; -- Begin function rt2x00leds_register
	.p2align	2
_rt2x00leds_register:                   ; @rt2x00leds_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0, #56]
	ldr	w0, [x8]
	bl	_wiphy_name
	mov	x20, x0
	ldr	w9, [x19]
Lloh3:
	adrp	x22, _LED_INITIALIZED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LED_INITIALIZED@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #20
	mov	w1, #36
	mov	x4, x20
	bl	_snprintf
	add	x2, sp, #20
	mov	x0, x19
	mov	x1, x19
	bl	_rt2x00leds_register_led
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	w8, [x22]
LBB0_3:
	mov	x21, x19
	ldr	w9, [x21, #40]!
	tst	w8, w9
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #20
	mov	w1, #36
	mov	x4, x20
	bl	_snprintf
	add	x2, sp, #20
	mov	x0, x19
	mov	x1, x21
	bl	_rt2x00leds_register_led
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w8, [x22]
LBB0_6:
	mov	x21, x19
	ldr	w9, [x21, #16]!
	tst	w8, w9
	b.eq	LBB0_11
; %bb.7:
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #20
	mov	w1, #36
	mov	x4, x20
	bl	_snprintf
	add	x2, sp, #20
	mov	x0, x19
	mov	x1, x21
	bl	_rt2x00leds_register_led
	cbz	w0, LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_rt2x00leds_unregister
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	ldr	x8, [x19, #8]!
	cbz	x8, LBB0_9
; %bb.12:
	mov	w10, #70
	mov	w9, #30
	stp	x9, x10, [sp]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	blr	x8
	b	LBB0_9
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_INITIALIZED,4,2            ; @LED_INITIALIZED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s::radio"

l_.str.1:                               ; @.str.1
	.asciz	"%s-%s::assoc"

l_.str.2:                               ; @.str.2
	.asciz	"%s-%s::quality"

.subsections_via_symbols
