	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmstb_i2c_write_data_byte
_brcmstb_i2c_write_data_byte:           ## @brcmstb_i2c_write_data_byte
	.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	%rsi, %r14
	movq	%rdi, %rbx
	testl	%edx, %edx
	jne	LBB0_1
## %bb.2:
	movq	_CMD_WR_NOACK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CMD_WR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r15d
	movq	_cnt_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bsc_writel
	movl	(%r14), %esi
	movq	_data_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bsc_writel
	movq	%rbx, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmstb_send_i2c_cmd           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_WR,4,2                     ## @CMD_WR
	.comm	_CMD_WR_NOACK,4,2               ## @CMD_WR_NOACK
	.comm	_cnt_reg,4,2                    ## @cnt_reg
	.comm	_data_in,4,2                    ## @data_in
	.no_dead_strip	_brcmstb_i2c_write_data_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmstb_i2c_write_data_byte
_brcmstb_i2c_write_data_byte:           ; @brcmstb_i2c_write_data_byte
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CMD_WR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_WR@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CMD_WR_NOACK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CMD_WR_NOACK@GOTPAGEOFF]
	cmp	w2, #0
	csel	x8, x9, x8, eq
	ldr	w21, [x8]
Lloh4:
	adrp	x8, _cnt_reg@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cnt_reg@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_bsc_writel
	ldr	w1, [x19]
Lloh7:
	adrp	x8, _data_in@GOTPAGE
Lloh8:
	ldr	x8, [x8, _data_in@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bsc_writel
	mov	x0, x20
	mov	x1, x21
	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
	b	_brcmstb_send_i2c_cmd
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_WR,4,2                     ; @CMD_WR
	.comm	_CMD_WR_NOACK,4,2               ; @CMD_WR_NOACK
	.comm	_cnt_reg,4,2                    ; @cnt_reg
	.comm	_data_in,4,2                    ; @data_in
	.no_dead_strip	_brcmstb_i2c_write_data_byte
.subsections_via_symbols
