	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdio_set_bool_for_func         ## -- Begin function sdio_set_bool_for_func
	.p2align	4, 0x90
_sdio_set_bool_for_func:                ## @sdio_set_bool_for_func
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-36(%rbp), %r9
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sdio_rw_direct
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	-36(%rbp), %edx
	movl	$1, %esi
	movl	%r12d, %ecx
	shll	%cl, %esi
	movl	%edx, %eax
	andl	%esi, %eax
	setne	%dil
	cmpl	$1, %r15d
	sete	%cl
	testb	%dil, %cl
	jne	LBB0_2
## %bb.3:
	orl	%r15d, %eax
	movl	$0, %eax
	je	LBB0_5
## %bb.4:
	movl	%esi, %eax
	notl	%eax
	andl	%edx, %eax
	orl	%esi, %edx
	testl	%r15d, %r15d
	cmovel	%eax, %edx
	movl	%edx, -36(%rbp)
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	$1, %ecx
	movq	%r8, %r9
	callq	_sdio_rw_direct
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdio_set_bool_for_func         ; -- Begin function sdio_set_bool_for_func
	.p2align	2
_sdio_set_bool_for_func:                ; @sdio_set_bool_for_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x5, sp, #12
	mov	w1, #0
	mov	x2, x19
	mov	w3, #0
	mov	x4, #0
	bl	_sdio_rw_direct
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w9, #1
	lsl	w9, w9, w22
	ands	w10, w8, w9
	ccmp	w21, #1, #0, ne
	orr	w10, w10, w21
	ccmp	w10, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	bic	w10, w8, w9
	orr	w8, w8, w9
	cmp	w21, #0
	csel	w8, w10, w8, eq
	str	w8, [sp, #12]
	add	x4, sp, #12
	add	x5, sp, #12
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	mov	w3, #1
	bl	_sdio_rw_direct
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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
