	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c4iw_uld_state_change
_c4iw_uld_state_change:                 ## @c4iw_uld_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	8(%r14), %edi
	callq	_pci_name
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_info
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	$0, -24(%rbp)
	movq	_T4_FATAL_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
	movq	_IB_EVENT_DEVICE_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_ib_dispatch_event
	jmp	LBB0_11
LBB0_2:
	movl	8(%r14), %edi
	callq	_pci_name
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_info
	cmpq	$0, (%r14)
	jne	LBB0_12
## %bb.3:
	leaq	8(%r14), %rdi
	callq	_c4iw_alloc
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	8(%r14), %edi
	callq	_pci_name
	movl	%eax, %ebx
	movq	(%r14), %rdi
	callq	_PTR_ERR
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pr_err
	movq	$0, (%r14)
	jmp	LBB0_12
LBB0_6:
	movl	8(%r14), %edi
	callq	_pci_name
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	movl	8(%r14), %edi
	callq	_pci_name
	leaq	L_.str.5(%rip), %rdi
LBB0_10:
	movl	%eax, %esi
	callq	_pr_info
	cmpq	$0, (%r14)
	je	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	callq	_c4iw_remove
LBB0_12:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	addq	$12, %r14
	movq	_c4iw_register_device@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_WORK
	movq	_reg_workq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_queue_work
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"new_state %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Up\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: initialization failed: %ld\n"

	.comm	_c4iw_register_device,4,2       ## @c4iw_register_device
	.comm	_reg_workq,4,2                  ## @reg_workq
L_.str.3:                               ## @.str.3
	.asciz	"%s: Down\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: Fatal Error\n"

	.comm	_T4_FATAL_ERROR,4,2             ## @T4_FATAL_ERROR
	.comm	_IB_EVENT_DEVICE_FATAL,4,2      ## @IB_EVENT_DEVICE_FATAL
L_.str.5:                               ## @.str.5
	.asciz	"%s: Detach\n"

	.no_dead_strip	_c4iw_uld_state_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c4iw_uld_state_change
_c4iw_uld_state_change:                 ; @c4iw_uld_state_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_11
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_pci_name
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_info
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.3:
	str	xzr, [sp, #8]
Lloh6:
	adrp	x9, _T4_FATAL_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _T4_FATAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
Lloh9:
	adrp	x9, _IB_EVENT_DEVICE_FATAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_EVENT_DEVICE_FATAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	str	x8, [sp]
	mov	x0, sp
	bl	_ib_dispatch_event
	b	LBB0_10
LBB0_4:
	mov	x20, x19
	ldr	w0, [x20, #8]!
	bl	_pci_name
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.5:
	mov	x0, x20
	bl	_c4iw_alloc
	str	x0, [x19]
	bl	_IS_ERR
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x19, #8]
	bl	_pci_name
	mov	x20, x0
	ldr	x0, [x19]
	bl	_PTR_ERR
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_err
	str	xzr, [x19]
	b	LBB0_11
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_pci_name
	mov	x1, x0
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	w0, [x19, #8]
	bl	_pci_name
	mov	x1, x0
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_9:
	bl	_pr_info
	ldr	x8, [x19]
	cbz	x8, LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_c4iw_remove
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
	add	x19, x19, #12
Lloh20:
	adrp	x8, _c4iw_register_device@GOTPAGE
Lloh21:
	ldr	x8, [x8, _c4iw_register_device@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
Lloh23:
	adrp	x8, _reg_workq@GOTPAGE
Lloh24:
	ldr	x8, [x8, _reg_workq@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_queue_work
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"new_state %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Up\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: initialization failed: %ld\n"

	.comm	_c4iw_register_device,4,2       ; @c4iw_register_device
	.comm	_reg_workq,4,2                  ; @reg_workq
l_.str.3:                               ; @.str.3
	.asciz	"%s: Down\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: Fatal Error\n"

	.comm	_T4_FATAL_ERROR,4,2             ; @T4_FATAL_ERROR
	.comm	_IB_EVENT_DEVICE_FATAL,4,2      ; @IB_EVENT_DEVICE_FATAL
l_.str.5:                               ; @.str.5
	.asciz	"%s: Detach\n"

	.no_dead_strip	_c4iw_uld_state_change
.subsections_via_symbols
