	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_pinconf_set_config
_st_pinconf_set_config:                 ## @st_pinconf_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	16(%rdi), %rbx
	movq	(%rdi), %r15
	movq	8(%rdi), %r12
	movl	%esi, %edi
	callq	_BIT
	movq	%rax, %r13
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_regmap_field_read
	movl	-52(%rbp), %eax
	movl	%r13d, %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, -52(%rbp)
	movq	_ST_PINCONF_OE@GOTPCREL(%rip), %rcx
	testq	%r14, (%rcx)
	je	LBB0_3
## %bb.2:
	orl	%r13d, %eax
	movl	%eax, -52(%rbp)
	movl	%eax, %esi
LBB0_3:
	movq	%rbx, %rdi
	callq	_regmap_field_write
LBB0_4:
	testq	%r12, %r12
	je	LBB0_8
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_regmap_field_read
	movl	-48(%rbp), %eax
	movl	%r13d, %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, -48(%rbp)
	movq	_ST_PINCONF_PU@GOTPCREL(%rip), %rcx
	testq	%r14, (%rcx)
	je	LBB0_7
## %bb.6:
	orl	%r13d, %eax
	movl	%eax, -48(%rbp)
	movl	%eax, %esi
LBB0_7:
	movq	%r12, %rdi
	callq	_regmap_field_write
LBB0_8:
	testq	%r15, %r15
	je	LBB0_12
## %bb.9:
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_regmap_field_read
	movl	-44(%rbp), %eax
	movl	%r13d, %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, -44(%rbp)
	movq	_ST_PINCONF_OD@GOTPCREL(%rip), %rcx
	testq	%r14, (%rcx)
	je	LBB0_11
## %bb.10:
	orl	%r13d, %eax
	movl	%eax, -44(%rbp)
	movl	%eax, %esi
LBB0_11:
	movq	%r15, %rdi
	callq	_regmap_field_write
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_PINCONF_OE,8,3              ## @ST_PINCONF_OE
	.comm	_ST_PINCONF_PU,8,3              ## @ST_PINCONF_PU
	.comm	_ST_PINCONF_OD,8,3              ## @ST_PINCONF_OD
	.no_dead_strip	_st_pinconf_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_pinconf_set_config
_st_pinconf_set_config:                 ; @st_pinconf_set_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	ldp	x22, x23, [x0, #8]
	ldr	x19, [x0]
	mov	x0, x1
	bl	_BIT
	mov	x21, x0
	cbz	x23, LBB0_4
; %bb.1:
	add	x1, sp, #12
	mov	x0, x23
	bl	_regmap_field_read
	ldr	w8, [sp, #12]
	bic	w1, w8, w21
	str	w1, [sp, #12]
Lloh0:
	adrp	x9, _ST_PINCONF_OE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_PINCONF_OE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	tst	x9, x20
	b.eq	LBB0_3
; %bb.2:
	orr	w1, w8, w21
	str	w1, [sp, #12]
LBB0_3:
	mov	x0, x23
	bl	_regmap_field_write
LBB0_4:
	cbz	x22, LBB0_8
; %bb.5:
	add	x1, sp, #8
	mov	x0, x22
	bl	_regmap_field_read
	ldr	w8, [sp, #8]
	bic	w1, w8, w21
	str	w1, [sp, #8]
Lloh3:
	adrp	x9, _ST_PINCONF_PU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ST_PINCONF_PU@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	tst	x9, x20
	b.eq	LBB0_7
; %bb.6:
	orr	w1, w8, w21
	str	w1, [sp, #8]
LBB0_7:
	mov	x0, x22
	bl	_regmap_field_write
LBB0_8:
	cbz	x19, LBB0_12
; %bb.9:
	add	x1, sp, #4
	mov	x0, x19
	bl	_regmap_field_read
	ldr	w8, [sp, #4]
	bic	w1, w8, w21
	str	w1, [sp, #4]
Lloh6:
	adrp	x9, _ST_PINCONF_OD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ST_PINCONF_OD@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	tst	x9, x20
	b.eq	LBB0_11
; %bb.10:
	orr	w1, w8, w21
	str	w1, [sp, #4]
LBB0_11:
	mov	x0, x19
	bl	_regmap_field_write
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_PINCONF_OE,8,3              ; @ST_PINCONF_OE
	.comm	_ST_PINCONF_PU,8,3              ; @ST_PINCONF_PU
	.comm	_ST_PINCONF_OD,8,3              ; @ST_PINCONF_OD
	.no_dead_strip	_st_pinconf_set_config
.subsections_via_symbols
