	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp873x_gpio_set_config
_lp873x_gpio_set_config:                ## @lp873x_gpio_set_config
	.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
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_pinconf_to_config_param
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	(%r14), %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
	movq	_LP873X_GPO_CTRL_OD@GOTPCREL(%rip), %r13
	addl	(%r13), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	_BITS_PER_GPO@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	addl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	jmp	LBB0_4
LBB0_3:
	movq	(%r14), %rax
	movl	(%rax), %r14d
	movq	_LP873X_REG_GPO_CTRL@GOTPCREL(%rip), %rax
	movq	_BITS_PER_GPO@GOTPCREL(%rip), %rcx
	imull	(%rcx), %ebx
	movl	(%rax), %r15d
	movq	_LP873X_GPO_CTRL_OD@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
LBB0_5:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LP873X_REG_GPO_CTRL,4,2        ## @LP873X_REG_GPO_CTRL
	.comm	_BITS_PER_GPO,4,2               ## @BITS_PER_GPO
	.comm	_LP873X_GPO_CTRL_OD,4,2         ## @LP873X_GPO_CTRL_OD
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_lp873x_gpio_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp873x_gpio_set_config
_lp873x_gpio_set_config:                ; @lp873x_gpio_set_config
	.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	x21, x2
	mov	x19, x1
	bl	_gpiochip_get_data
	mov	x20, x0
	mov	x0, x21
	bl	_pinconf_to_config_param
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	w20, [x8]
Lloh0:
	adrp	x8, _LP873X_REG_GPO_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LP873X_REG_GPO_CTRL@GOTPAGEOFF]
Lloh2:
	adrp	x23, _BITS_PER_GPO@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BITS_PER_GPO@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	w8, [x23]
Lloh5:
	adrp	x24, _LP873X_GPO_CTRL_OD@GOTPAGE
Lloh6:
	ldr	x24, [x24, _LP873X_GPO_CTRL_OD@GOTPAGEOFF]
	ldr	w9, [x24]
	madd	w0, w8, w19, w9
	bl	_BIT
	mov	x22, x0
	ldr	w8, [x23]
	ldr	w9, [x24]
	madd	w0, w8, w19, w9
	bl	_BIT
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20]
	ldr	w20, [x8]
Lloh7:
	adrp	x8, _LP873X_REG_GPO_CTRL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LP873X_REG_GPO_CTRL@GOTPAGEOFF]
Lloh9:
	adrp	x9, _BITS_PER_GPO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BITS_PER_GPO@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
Lloh12:
	ldr	w8, [x9]
Lloh13:
	adrp	x9, _LP873X_GPO_CTRL_OD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LP873X_GPO_CTRL_OD@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	madd	w0, w8, w19, w9
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
LBB0_4:
	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
LBB0_5:
Lloh16:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_LP873X_REG_GPO_CTRL,4,2        ; @LP873X_REG_GPO_CTRL
	.comm	_BITS_PER_GPO,4,2               ; @BITS_PER_GPO
	.comm	_LP873X_GPO_CTRL_OD,4,2         ; @LP873X_GPO_CTRL_OD
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_lp873x_gpio_set_config
.subsections_via_symbols
