	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmfx_gpio_set
_stmfx_gpio_set:                        ## @stmfx_gpio_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	callq	_gpiochip_get_data
	movq	%rax, %r14
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_STMFX_REG_GPO_CLR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STMFX_REG_GPO_SET@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_get_mask
	movq	%rax, %r12
	movq	(%r14), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_get_reg
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r12, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_write_bits              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STMFX_REG_GPO_SET,8,3          ## @STMFX_REG_GPO_SET
	.comm	_STMFX_REG_GPO_CLR,8,3          ## @STMFX_REG_GPO_CLR
	.no_dead_strip	_stmfx_gpio_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmfx_gpio_set
_stmfx_gpio_set:                        ; @stmfx_gpio_set
	.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	x19, x2
	mov	x20, x1
	bl	_gpiochip_get_data
	mov	x21, x0
Lloh0:
	adrp	x8, _STMFX_REG_GPO_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMFX_REG_GPO_SET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _STMFX_REG_GPO_CLR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STMFX_REG_GPO_CLR@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	x22, [x8]
	mov	x0, x20
	bl	_get_mask
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w21, [x8]
	mov	x0, x20
	bl	_get_reg
	add	x1, x0, x22
	mov	x0, x21
	mov	x2, x19
	mov	x3, x19
	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
	b	_regmap_write_bits
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STMFX_REG_GPO_SET,8,3          ; @STMFX_REG_GPO_SET
	.comm	_STMFX_REG_GPO_CLR,8,3          ; @STMFX_REG_GPO_CLR
	.no_dead_strip	_stmfx_gpio_set
.subsections_via_symbols
