	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_hw_set_test_pattern
_s5k5baf_hw_set_test_pattern:           ## @s5k5baf_hw_set_test_pattern
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_REG_PATTERN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$800, %edx                      ## imm = 0x320
	callq	_s5k5baf_i2c_write
	movq	_REG_PATTERN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$511, %edx                      ## imm = 0x1FF
	callq	_s5k5baf_i2c_write
	movq	_REG_PATTERN_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_s5k5baf_i2c_write
	movq	_REG_PATTERN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_s5k5baf_i2c_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PATTERN_WIDTH,4,2          ## @REG_PATTERN_WIDTH
	.comm	_REG_PATTERN_HEIGHT,4,2         ## @REG_PATTERN_HEIGHT
	.comm	_REG_PATTERN_PARAM,4,2          ## @REG_PATTERN_PARAM
	.comm	_REG_PATTERN_SET,4,2            ## @REG_PATTERN_SET
	.no_dead_strip	_s5k5baf_hw_set_test_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_hw_set_test_pattern
_s5k5baf_hw_set_test_pattern:           ; @s5k5baf_hw_set_test_pattern
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_PATTERN_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_PATTERN_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #800
	bl	_s5k5baf_i2c_write
Lloh3:
	adrp	x8, _REG_PATTERN_HEIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_PATTERN_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #511
	bl	_s5k5baf_i2c_write
Lloh6:
	adrp	x8, _REG_PATTERN_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_PATTERN_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_s5k5baf_i2c_write
Lloh9:
	adrp	x8, _REG_PATTERN_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_PATTERN_SET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_s5k5baf_i2c_write
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PATTERN_WIDTH,4,2          ; @REG_PATTERN_WIDTH
	.comm	_REG_PATTERN_HEIGHT,4,2         ; @REG_PATTERN_HEIGHT
	.comm	_REG_PATTERN_PARAM,4,2          ; @REG_PATTERN_PARAM
	.comm	_REG_PATTERN_SET,4,2            ; @REG_PATTERN_SET
	.no_dead_strip	_s5k5baf_hw_set_test_pattern
.subsections_via_symbols
