	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp87565_gpio_set_config
_lp87565_gpio_set_config:               ## @lp87565_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, %rbx
	movl	%esi, %r12d
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pinconf_to_config_param
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%r14), %r14d
	movq	_LP87565_REG_GPIO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_LP87565_GOIO1_OD@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	___ffs
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12), %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	___ffs
	addl	%eax, %r12d
	movl	%r12d, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	jmp	LBB0_4
LBB0_3:
	movl	(%r14), %r14d
	movq	_LP87565_REG_GPIO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LP87565_GOIO1_OD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___ffs
	addl	%eax, %r12d
	movl	%r12d, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%ebx, %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	_LP87565_REG_GPIO_CONFIG,4,2    ## @LP87565_REG_GPIO_CONFIG
	.comm	_LP87565_GOIO1_OD,4,2           ## @LP87565_GOIO1_OD
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_lp87565_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 lp87565_gpio_set_config
_lp87565_gpio_set_config:               ; @lp87565_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	w20, [x20]
Lloh0:
	adrp	x8, _LP87565_REG_GPIO_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LP87565_REG_GPIO_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x23, _LP87565_GOIO1_OD@GOTPAGE
Lloh4:
	ldr	x23, [x23, _LP87565_GOIO1_OD@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	___ffs
	add	w0, w0, w19
	bl	_BIT
	mov	x22, x0
	ldr	w0, [x23]
	bl	___ffs
	add	w0, w0, w19
	bl	_BIT
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	b	LBB0_4
LBB0_3:
	ldr	w20, [x20]
Lloh5:
	adrp	x8, _LP87565_REG_GPIO_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LP87565_REG_GPIO_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _LP87565_GOIO1_OD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LP87565_GOIO1_OD@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	___ffs
	add	w0, w0, w19
	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:
Lloh11:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh13:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LP87565_REG_GPIO_CONFIG,4,2    ; @LP87565_REG_GPIO_CONFIG
	.comm	_LP87565_GOIO1_OD,4,2           ; @LP87565_GOIO1_OD
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_lp87565_gpio_set_config
.subsections_via_symbols
