	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_cm_llp_state_change
_siw_cm_llp_state_change:               ## @siw_cm_llp_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_read_lock
	movq	%r15, %rdi
	callq	_sk_to_cep
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %r12
	movl	8(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_siw_dbg_cep
	movl	(%r15), %edx
	leal	-129(%rdx), %eax
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.5:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$1, (%rax)
LBB0_7:
	movq	_SIW_CM_WORK_PEER_CLOSE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock                    ## TAILCALL
LBB0_2:
	cmpl	$128, %edx
	jne	LBB0_8
## %bb.3:
	movq	_SIW_CM_WORK_ACCEPT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_siw_cm_queue_work
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_siw_dbg_cep
LBB0_9:
	movq	%r14, %rdi
	callq	_read_unlock
	movq	%r15, %rdi
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"state: %d\n"

	.comm	_SIW_CM_WORK_ACCEPT,4,2         ## @SIW_CM_WORK_ACCEPT
	.comm	_SIW_CM_WORK_PEER_CLOSE,4,2     ## @SIW_CM_WORK_PEER_CLOSE
L_.str.1:                               ## @.str.1
	.asciz	"unexpected socket state %d\n"

	.no_dead_strip	_siw_cm_llp_state_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_cm_llp_state_change
_siw_cm_llp_state_change:               ; @siw_cm_llp_state_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x20, x0, #4
	mov	x0, x20
	bl	_read_lock
	mov	x0, x19
	bl	_sk_to_cep
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x0, [x0]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w2, [x21, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_siw_dbg_cep
	ldr	w2, [x19]
	sub	w8, w2, #129
	cmp	w8, #2
	b.hs	LBB0_6
; %bb.2:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w9, #1
	str	w9, [x8]
LBB0_4:
Lloh2:
	adrp	x8, _SIW_CM_WORK_PEER_CLOSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIW_CM_WORK_PEER_CLOSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_read_unlock
LBB0_6:
	cmp	w2, #128
	b.ne	LBB0_9
; %bb.7:
Lloh4:
	adrp	x8, _SIW_CM_WORK_ACCEPT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIW_CM_WORK_ACCEPT@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_siw_cm_queue_work
	b	LBB0_10
LBB0_9:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_siw_dbg_cep
LBB0_10:
	mov	x0, x20
	bl	_read_unlock
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	br	x1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"state: %d\n"

	.comm	_SIW_CM_WORK_ACCEPT,4,2         ; @SIW_CM_WORK_ACCEPT
	.comm	_SIW_CM_WORK_PEER_CLOSE,4,2     ; @SIW_CM_WORK_PEER_CLOSE
l_.str.1:                               ; @.str.1
	.asciz	"unexpected socket state %d\n"

	.no_dead_strip	_siw_cm_llp_state_change
.subsections_via_symbols
