	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connect_b3_t90_a_res
_connect_b3_t90_a_res:                  ## @connect_b3_t90_a_res
	.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	%r9, %r15
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	xorl	%eax, %eax
	cmpl	$65536, %ebx                    ## imm = 0x10000
	jb	LBB0_9
## %bb.1:
	testq	%r14, %r14
	je	LBB0_9
## %bb.2:
	sarl	$16, %ebx
	movslq	%ebx, %rcx
	movq	(%r12), %rdx
	movq	(%rdx,%rcx,8), %rsi
	movq	_INC_ACT_PENDING@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_4
## %bb.3:
	movq	_CONNECTED@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, (%rdx,%rcx,8)
	jmp	LBB0_9
LBB0_4:
	movq	_INC_CON_PENDING@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_9
## %bb.5:
	movq	_CONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx,%rcx,8)
	movq	_N_CONNECT_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	movl	24(%r15), %esi
	cmpl	$3, %esi
	jl	LBB0_8
## %bb.7:
	movq	16(%r15), %rdx
	movl	4(%rdx), %eax
	andl	$1, %eax
	negl	%eax
	movq	_N_D_BIT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, %r12d
	addl	$-3, %esi
	addq	$16, %rdx
	movq	%r14, %rdi
	callq	_add_d
LBB0_8:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_nl_req_ncci
	movl	$1, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"connect_b3_t90_a_res"

	.comm	_INC_ACT_PENDING,8,3            ## @INC_ACT_PENDING
	.comm	_CONNECTED,8,3                  ## @CONNECTED
	.comm	_INC_CON_PENDING,8,3            ## @INC_CON_PENDING
	.comm	_N_CONNECT_ACK,4,2              ## @N_CONNECT_ACK
	.comm	_N_D_BIT,4,2                    ## @N_D_BIT
	.no_dead_strip	_connect_b3_t90_a_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connect_b3_t90_a_res
_connect_b3_t90_a_res:                  ; @connect_b3_t90_a_res
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x5
	mov	x19, x3
	mov	x22, x2
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	mov	w0, #0
	cmp	w21, #16, lsl #12               ; =65536
	b.lo	LBB0_10
; %bb.1:
	cbz	x19, LBB0_10
; %bb.2:
	asr	w21, w21, #16
	sxtw	x8, w21
	ldr	x9, [x22]
	ldr	x10, [x9, w21, sxtw #3]
Lloh2:
	adrp	x11, _INC_ACT_PENDING@GOTPAGE
Lloh3:
	ldr	x11, [x11, _INC_ACT_PENDING@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
Lloh5:
	adrp	x10, _CONNECTED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CONNECTED@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	str	x10, [x9, x8, lsl #3]
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x11, _INC_CON_PENDING@GOTPAGE
Lloh9:
	ldr	x11, [x11, _INC_CON_PENDING@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_9
; %bb.5:
Lloh11:
	adrp	x10, _CONNECTED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CONNECTED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	str	x10, [x9, x8, lsl #3]
Lloh14:
	adrp	x8, _N_CONNECT_ACK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _N_CONNECT_ACK@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x20, #24]
	subs	w1, w8, #3
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x20, #16]
	ldr	w9, [x8, #4]
	sbfx	w9, w9, #0, #1
Lloh17:
	adrp	x10, _N_D_BIT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _N_D_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w22, w9, w22
	add	x2, x8, #16
	mov	x0, x19
	bl	_add_d
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_nl_req_ncci
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"connect_b3_t90_a_res"

	.comm	_INC_ACT_PENDING,8,3            ; @INC_ACT_PENDING
	.comm	_CONNECTED,8,3                  ; @CONNECTED
	.comm	_INC_CON_PENDING,8,3            ; @INC_CON_PENDING
	.comm	_N_CONNECT_ACK,4,2              ; @N_CONNECT_ACK
	.comm	_N_D_BIT,4,2                    ; @N_D_BIT
	.no_dead_strip	_connect_b3_t90_a_res
.subsections_via_symbols
