	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp873x_gpio_direction_output
_lp873x_gpio_direction_output:          ## @lp873x_gpio_direction_output
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	movq	(%rax), %rax
	movl	(%rax), %r14d
	movq	_LP873X_REG_GPO_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BITS_PER_GPO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	%ebx, %edi
	callq	_BIT
	movl	%eax, %r12d
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movq	_BITS_PER_GPO@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movl	%ebx, %edi
	callq	_BIT
	movl	%eax, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LP873X_REG_GPO_CTRL,4,2        ## @LP873X_REG_GPO_CTRL
	.comm	_BITS_PER_GPO,4,2               ## @BITS_PER_GPO
	.no_dead_strip	_lp873x_gpio_direction_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp873x_gpio_direction_output
_lp873x_gpio_direction_output:          ; @lp873x_gpio_direction_output
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x23, x2
	mov	x21, x1
	bl	_gpiochip_get_data
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LP873X_REG_GPO_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LP873X_REG_GPO_CTRL@GOTPAGEOFF]
	ldr	w20, [x8]
Lloh2:
	ldr	w19, [x9]
Lloh3:
	adrp	x24, _BITS_PER_GPO@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BITS_PER_GPO@GOTPAGEOFF]
	ldr	w8, [x24]
	mul	w0, w8, w21
	bl	_BIT
	mov	x22, x0
	cbz	w23, LBB0_2
; %bb.1:
	ldr	w8, [x24]
	mul	w0, w8, w21
	bl	_BIT
	mov	x3, x0
	b	LBB0_3
LBB0_2:
	mov	w3, #0
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LP873X_REG_GPO_CTRL,4,2        ; @LP873X_REG_GPO_CTRL
	.comm	_BITS_PER_GPO,4,2               ; @BITS_PER_GPO
	.no_dead_strip	_lp873x_gpio_direction_output
.subsections_via_symbols
