	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_twl4030_pulls
_gpio_twl4030_pulls:                    ## @gpio_twl4030_pulls
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$1, %eax
	xorl	%ecx, %ecx
	movl	$2, %r8d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	64(%rdx), %r10d
	testl	%esi, %r9d
	cmovel	%edx, %r10d
	movl	%r10d, %edx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	shll	$4, %eax
	movl	%edx, -32(%rbp,%rcx,4)
	incq	%rcx
	cmpq	$5, %rcx
	je	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	testl	%esi, %eax
	setne	%dl
	testl	%edi, %eax
	cmovnel	%r8d, %edx
	leal	(%rax,%rax), %r9d
	testl	%edi, %r9d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	$8, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	4(%rdx), %r10d
	testl	%esi, %r9d
	cmovel	%edx, %r10d
	movl	%r10d, %edx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	(,%rax,4), %r9d
	testl	%edi, %r9d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	$32, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	16(%rdx), %r10d
	testl	%esi, %r9d
	cmovel	%edx, %r10d
	movl	%r10d, %edx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	(,%rax,8), %r9d
	testl	%edi, %r9d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	$128, %edx
	jmp	LBB0_10
LBB0_11:
	movq	_TWL4030_MODULE_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_GPIOPUPDCTR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movl	$5, %ecx
	callq	_twl_i2c_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TWL4030_MODULE_GPIO,4,2        ## @TWL4030_MODULE_GPIO
	.comm	_REG_GPIOPUPDCTR1,4,2           ## @REG_GPIOPUPDCTR1
	.no_dead_strip	_gpio_twl4030_pulls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_twl4030_pulls
_gpio_twl4030_pulls:                    ; @gpio_twl4030_pulls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
	mov	w9, #1
	mov	w10, #2
	add	x11, sp, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	tst	w9, w1
	cset	w12, ne
	tst	w9, w0
	csel	w12, w12, w10, eq
	lsl	w13, w9, #1
	orr	w14, w12, #0x4
	tst	w13, w1
	csel	w14, w12, w14, eq
	orr	w12, w12, #0x8
	tst	w13, w0
	csel	w12, w14, w12, eq
	lsl	w13, w9, #2
	orr	w14, w12, #0x10
	tst	w13, w1
	csel	w14, w12, w14, eq
	orr	w12, w12, #0x20
	tst	w13, w0
	csel	w12, w14, w12, eq
	lsl	w13, w9, #3
	orr	w14, w12, #0x40
	tst	w13, w1
	csel	w14, w12, w14, eq
	orr	w12, w12, #0x80
	tst	w13, w0
	csel	w12, w14, w12, eq
	lsl	w9, w9, #4
	str	w12, [x11, x8]
	add	x8, x8, #4
	cmp	x8, #20
	b.ne	LBB0_1
; %bb.2:
Lloh3:
	adrp	x8, _TWL4030_MODULE_GPIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TWL4030_MODULE_GPIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _REG_GPIOPUPDCTR1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_GPIOPUPDCTR1@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #4
	mov	w3, #5
	bl	_twl_i2c_write
	ldur	x8, [x29, #-8]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TWL4030_MODULE_GPIO,4,2        ; @TWL4030_MODULE_GPIO
	.comm	_REG_GPIOPUPDCTR1,4,2           ; @REG_GPIOPUPDCTR1
	.no_dead_strip	_gpio_twl4030_pulls
.subsections_via_symbols
