	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wimax_state_change           ## -- Begin function __wimax_state_change
	.p2align	4, 0x90
___wimax_state_change:                  ## @__wimax_state_change
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_wimax_dev_to_dev
	movq	%rax, %r12
	movl	(%r14), %r15d
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rax, %rsi
	movq	%r14, %rcx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	callq	_d_fnstart
	xorl	%edi, %edi
	cmpl	$130, %ebx
	setae	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_23
LBB0_2:
	cmpl	%ebx, %r15d
	je	LBB0_23
## %bb.3:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_wimax_gnl_re_state_change_alloc
	movq	%rax, %r13
	leal	-128(%r15), %eax
	cmpl	$9, %eax
	ja	LBB0_14
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movl	$128, %edi
	jmp	LBB0_6
LBB0_5:
	movl	$129, %edi
	jmp	LBB0_6
LBB0_14:
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movl	$1, %edi
	callq	_WARN_ON
	jmp	LBB0_23
LBB0_9:
	movl	$131, %edi
	jmp	LBB0_6
LBB0_12:
	movl	$132, %edi
	jmp	LBB0_6
LBB0_11:
	movl	$133, %edi
	jmp	LBB0_6
LBB0_10:
	movl	$134, %edi
	jmp	LBB0_6
LBB0_7:
	movl	$135, %edi
	jmp	LBB0_6
LBB0_13:
	movl	$136, %edi
LBB0_6:
	movl	%ebx, %esi
	callq	___check_new_state
LBB0_16:
	leal	-128(%rbx), %eax
	cmpl	$9, %eax
	ja	LBB0_20
## %bb.17:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	___wimax_state_set
	testq	%r13, %r13
	je	LBB0_23
## %bb.22:
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_wimax_gnl_re_state_change_send
LBB0_23:
	leaq	L_.str.4(%rip), %rdx
	movl	$3, %edi
	movq	%r12, %rsi
	movq	%r14, %rcx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	callq	_d_fnend
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	$137, %edi
	movl	%ebx, %esi
	callq	___check_new_state
	movl	4(%r14), %edi
	callq	_netif_tx_disable
	movl	4(%r14), %edi
	callq	_netif_carrier_off
	jmp	LBB0_16
LBB0_18:
	movl	(%r14), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movl	$1, %edi
	callq	_WARN_ON
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_21
LBB0_19:
	movl	4(%r14), %edi
	callq	_netif_carrier_on
	movl	4(%r14), %edi
	callq	_netif_wake_queue
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_15
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
LJTI0_1:
	.long	L0_1_set_21
	.long	L0_1_set_18
	.long	L0_1_set_20
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_19
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(wimax_dev %p new_state %u [old %u])\n"

L_.str.1:                               ## @.str.1
	.asciz	"SW BUG: requesting invalid state %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"SW BUG: wimax_dev %p is in unknown state %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"SW BUG: wimax_dev %p entering NULL state from %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"(wimax_dev %p new_state %u [old %u]) = void\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wimax_state_change           ; -- Begin function __wimax_state_change
	.p2align	2
___wimax_state_change:                  ; @__wimax_state_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_wimax_dev_to_dev
	mov	x22, x0
	ldr	w21, [x20]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	bl	_d_fnstart
	cmp	w19, #129
	cset	w0, hi
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_19
LBB0_2:
	cmp	w21, w19
	b.eq	LBB0_19
; %bb.3:
	str	xzr, [sp, #24]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_wimax_gnl_re_state_change_alloc
	sub	w8, w21, #128
	cmp	w8, #9
	b.hi	LBB0_7
; %bb.4:
	mov	x23, x0
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w0, #128
	b	LBB0_14
LBB0_6:
	mov	w0, #129
	b	LBB0_14
LBB0_7:
	ldr	w8, [x20]
	stp	x20, x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_19
LBB0_8:
	mov	w0, #131
	b	LBB0_14
LBB0_9:
	mov	w0, #132
	b	LBB0_14
LBB0_10:
	mov	w0, #133
	b	LBB0_14
LBB0_11:
	mov	w0, #134
	b	LBB0_14
LBB0_12:
	mov	w0, #135
	b	LBB0_14
LBB0_13:
	mov	w0, #136
LBB0_14:
	mov	x1, x19
	bl	___check_new_state
LBB0_15:
	sub	w8, w19, #128
	cmp	w8, #9
	b.hi	LBB0_22
; %bb.16:
Lloh8:
	adrp	x9, lJTI0_1@PAGE
Lloh9:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	___wimax_state_set
	cbz	x23, LBB0_19
; %bb.18:
	ldr	x2, [sp, #24]
	mov	x0, x20
	mov	x1, x23
	bl	_wimax_gnl_re_state_change_send
LBB0_19:
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	bl	_d_fnend
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
	mov	w0, #137
	mov	x1, x19
	bl	___check_new_state
	ldr	w0, [x20, #4]
	bl	_netif_tx_disable
	ldr	w0, [x20, #4]
	bl	_netif_carrier_off
	b	LBB0_15
LBB0_21:
	ldr	w8, [x20]
	stp	x20, x8, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_17
LBB0_22:
	bl	_BUG
	b	LBB0_17
LBB0_23:
	ldr	w0, [x20, #4]
	bl	_netif_carrier_on
	ldr	w0, [x20, #4]
	bl	_netif_wake_queue
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
lJTI0_1:
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_22-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_23-LBB0_17)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(wimax_dev %p new_state %u [old %u])\n"

l_.str.1:                               ; @.str.1
	.asciz	"SW BUG: requesting invalid state %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"SW BUG: wimax_dev %p is in unknown state %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"SW BUG: wimax_dev %p entering NULL state from %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"(wimax_dev %p new_state %u [old %u]) = void\n"

.subsections_via_symbols
