	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_b3_req
_reset_b3_req:                          ## @reset_b3_req
	.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
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	__WRONG_IDENTIFIER@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	cmpl	$65536, %ebx                    ## imm = 0x10000
	jb	LBB0_10
## %bb.1:
	testq	%r12, %r12
	je	LBB0_10
## %bb.2:
	movl	%ebx, %edx
	sarl	$16, %edx
	movslq	%edx, %rax
	movq	__WRONG_STATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movl	(%r12), %ecx
	cmpl	$130, %ecx
	je	LBB0_5
## %bb.3:
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	$128, %ecx
	jne	LBB0_10
LBB0_5:
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	_CONNECTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.6:
	movq	_N_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_nl_req_ncci
	movq	%r12, %rdi
	callq	_send_req
	jmp	LBB0_9
LBB0_7:
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	_CONNECTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.8:
	movq	_reset_b3_command@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_start_internal_command
LBB0_9:
	movq	_GOOD@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
LBB0_10:
	movq	__RESET_B3_R@GOTPCREL(%rip), %rax
	movq	_CONFIRM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_sendf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset_b3_req"

	.comm	__WRONG_IDENTIFIER,8,3          ## @_WRONG_IDENTIFIER
	.comm	__WRONG_STATE,8,3               ## @_WRONG_STATE
	.comm	_CONNECTED,4,2                  ## @CONNECTED
	.comm	_N_RESET,4,2                    ## @N_RESET
	.comm	_GOOD,8,3                       ## @GOOD
	.comm	_reset_b3_command,4,2           ## @reset_b3_command
	.comm	__RESET_B3_R,4,2                ## @_RESET_B3_R
	.comm	_CONFIRM,4,2                    ## @CONFIRM
L_.str.1:                               ## @.str.1
	.asciz	"w"

	.no_dead_strip	_reset_b3_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_b3_req
_reset_b3_req:                          ; @reset_b3_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	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
Lloh2:
	adrp	x8, __WRONG_IDENTIFIER@GOTPAGE
Lloh3:
	ldr	x8, [x8, __WRONG_IDENTIFIER@GOTPAGEOFF]
Lloh4:
	ldr	x5, [x8]
	cmp	w21, #16, lsl #12               ; =65536
	b.lo	LBB0_10
; %bb.1:
	cbz	x22, LBB0_10
; %bb.2:
	sbfx	x2, x21, #16, #16
Lloh5:
	adrp	x8, __WRONG_STATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, __WRONG_STATE@GOTPAGEOFF]
Lloh7:
	ldr	x5, [x8]
	ldr	w8, [x22]
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_10
LBB0_5:
	ldr	x8, [x23]
	ldr	w8, [x8, x2, lsl #2]
Lloh8:
	adrp	x9, _CONNECTED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CONNECTED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.6:
Lloh11:
	adrp	x8, _N_RESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _N_RESET@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_nl_req_ncci
	mov	x0, x22
	bl	_send_req
	b	LBB0_9
LBB0_7:
	ldr	x8, [x23]
	ldr	w8, [x8, x2, lsl #2]
Lloh14:
	adrp	x9, _CONNECTED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CONNECTED@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
Lloh17:
	adrp	x8, _reset_b3_command@GOTPAGE
Lloh18:
	ldr	x8, [x8, _reset_b3_command@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_start_internal_command
LBB0_9:
Lloh20:
	adrp	x8, _GOOD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GOOD@GOTPAGEOFF]
Lloh22:
	ldr	x5, [x8]
LBB0_10:
Lloh23:
	adrp	x8, __RESET_B3_R@GOTPAGE
Lloh24:
	ldr	x8, [x8, __RESET_B3_R@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh29:
	adrp	x4, l_.str.1@PAGE
Lloh30:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_sendf
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset_b3_req"

	.comm	__WRONG_IDENTIFIER,8,3          ; @_WRONG_IDENTIFIER
	.comm	__WRONG_STATE,8,3               ; @_WRONG_STATE
	.comm	_CONNECTED,4,2                  ; @CONNECTED
	.comm	_N_RESET,4,2                    ; @N_RESET
	.comm	_GOOD,8,3                       ; @GOOD
	.comm	_reset_b3_command,4,2           ; @reset_b3_command
	.comm	__RESET_B3_R,4,2                ; @_RESET_B3_R
	.comm	_CONFIRM,4,2                    ; @CONFIRM
l_.str.1:                               ; @.str.1
	.asciz	"w"

	.no_dead_strip	_reset_b3_req
.subsections_via_symbols
