	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5h1432_set_channel_bandwidth
_s5h1432_set_channel_bandwidth:         ## @s5h1432_set_channel_bandwidth
	.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
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movq	_S5H1432_I2C_TOP_ADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$46, %edx
	callq	_s5h1432_readreg
	andl	$-13, %eax
	cmpl	$8, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$7, %ebx
	je	LBB0_4
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$6, %ebx
	jne	LBB0_6
## %bb.3:
	orl	$8, %eax
	jmp	LBB0_5
LBB0_4:
	orl	$4, %eax
LBB0_5:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$46, %edx
	movl	%eax, %ecx
	callq	_s5h1432_writereg
	movl	$1, %ecx
LBB0_6:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5H1432_I2C_TOP_ADDR,4,2       ## @S5H1432_I2C_TOP_ADDR
	.no_dead_strip	_s5h1432_set_channel_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5h1432_set_channel_bandwidth
_s5h1432_set_channel_bandwidth:         ; @s5h1432_set_channel_bandwidth
	.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, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _S5H1432_I2C_TOP_ADDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _S5H1432_I2C_TOP_ADDR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #46
	bl	_s5h1432_readreg
	and	w3, w0, #0xfffffff3
	cmp	w20, #8
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #7
	b.eq	LBB0_4
; %bb.2:
	cmp	w20, #6
	b.ne	LBB0_6
; %bb.3:
	orr	w3, w3, #0x8
	b	LBB0_5
LBB0_4:
	orr	w3, w3, #0x4
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #46
	bl	_s5h1432_writereg
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_S5H1432_I2C_TOP_ADDR,4,2       ; @S5H1432_I2C_TOP_ADDR
	.no_dead_strip	_s5h1432_set_channel_bandwidth
.subsections_via_symbols
