	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_leds_init              ## -- Begin function iwl_mvm_leds_init
	.p2align	4, 0x90
_iwl_mvm_leds_init:                     ## @iwl_mvm_leds_init
	.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	_iwlwifi_mod_params@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_INFO
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_ERR
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	callq	_wiphy_name
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_kasprintf
	leaq	4(%rbx), %r14
	movl	%eax, 8(%rbx)
	movq	_iwl_led_brightness_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$1, 4(%rbx)
	movq	32(%rbx), %rdi
	callq	_ieee80211_get_radio_led_name
	movl	%eax, 12(%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_led_classdev_register
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	callq	_kfree
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_INFO
	jmp	LBB0_9
LBB0_7:
	movq	_IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_iwlwifi_mod_params,4,2         ## @iwlwifi_mod_params
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Blink led mode not supported, used default\n"

L_.str.1:                               ## @.str.1
	.asciz	"Led disabled\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"%s-led"

	.comm	_iwl_led_brightness_set,4,2     ## @iwl_led_brightness_set
L_.str.3:                               ## @.str.3
	.asciz	"Failed to enable led\n"

	.comm	_IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE,4,2 ## @IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_leds_init              ; -- Begin function iwl_mvm_leds_init
	.p2align	2
_iwl_mvm_leds_init:                     ; @iwl_mvm_leds_init
	.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
Lloh0:
	adrp	x8, _iwlwifi_mod_params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iwlwifi_mod_params@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_INFO
	mov	w20, #0
	b	LBB0_8
LBB0_3:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_4:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
LBB0_5:
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_wiphy_name
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_kasprintf
	mov	w8, #1
	mov	x20, x19
	stp	w8, w0, [x20, #4]!
Lloh17:
	adrp	x8, _iwl_led_brightness_set@GOTPAGE
Lloh18:
	ldr	x8, [x8, _iwl_led_brightness_set@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	ldr	x0, [x19, #32]
	bl	_ieee80211_get_radio_led_name
	str	w0, [x20, #8]
	ldur	x8, [x20, #20]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_led_classdev_register
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x19, #8]
	bl	_kfree
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IWL_INFO
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x8, _IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_iwlwifi_mod_params,4,2         ; @iwlwifi_mod_params
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Blink led mode not supported, used default\n"

l_.str.1:                               ; @.str.1
	.asciz	"Led disabled\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"%s-led"

	.comm	_iwl_led_brightness_set,4,2     ; @iwl_led_brightness_set
l_.str.3:                               ; @.str.3
	.asciz	"Failed to enable led\n"

	.comm	_IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE,4,2 ; @IWL_MVM_INIT_STATUS_LEDS_INIT_COMPLETE
.subsections_via_symbols
