	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zero_the_pointer
_zero_the_pointer:                      ## @zero_the_pointer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.1:
	movabsq	$347892351001, %rax             ## imm = 0x5100000019
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.2:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.3:
	movabsq	$798863917081, %rax             ## imm = 0xBA00000019
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.4:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.5:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.6:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.7:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.8:
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$10, %edx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$255, %ebx
	ja	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	movl	(%r14), %edx
	incl	%ebx
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_24
LBB0_12:
	cmpl	$10, %edx
	je	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_gspca_err
LBB0_14:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.15:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.16:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.17:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.18:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.19:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.20:
	movq	$25, (%r14)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.21:
	movq	%r15, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_cam_get_response16
	testl	%eax, %eax
	js	LBB0_24
## %bb.22:
	movl	$25, (%r14)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_mr_write
	testl	%eax, %eax
	js	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_mr_read
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status is %02x\n"

	.no_dead_strip	_zero_the_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function zero_the_pointer
lCPI0_0:
	.long	25                              ; 0x19
	.long	81                              ; 0x51
lCPI0_1:
	.long	25                              ; 0x19
	.long	186                             ; 0xba
lCPI0_2:
	.long	25                              ; 0x19
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_zero_the_pointer:                      ; @zero_the_pointer
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	x20, [x0]
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.2:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.3:
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.4:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.5:
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	d8, [x8, lCPI0_2@PAGEOFF]
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.6:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.7:
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.8:
	mov	w2, #0
	mov	w21, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w2, #10
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w21, #255
	b.hi	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	ldr	w2, [x20]
	add	w21, w21, #1
	tbz	w0, #31, LBB0_9
	b	LBB0_24
LBB0_12:
	cmp	w2, #10
	b.eq	LBB0_14
; %bb.13:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gspca_err
LBB0_14:
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.15:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.16:
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.17:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.18:
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.19:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.20:
	str	d8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.21:
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_cam_get_response16
	tbnz	w0, #31, LBB0_24
; %bb.22:
	mov	w8, #25
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #1
	bl	_mr_write
	tbnz	w0, #31, LBB0_24
; %bb.23:
	mov	x0, x19
	mov	w1, #16
	bl	_mr_read
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_24:
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status is %02x\n"

	.no_dead_strip	_zero_the_pointer
.subsections_via_symbols
