	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bgpio_set_with_clear
_bgpio_set_with_clear:                  ## @bgpio_set_with_clear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	testl	%edx, %edx
	setne	%bl
	callq	_bgpio_line2mask
	movq	8(%r14), %rcx
	shlq	$4, %rbx
	movl	(%r14,%rbx), %edi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bgpio_set_with_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bgpio_set_with_clear
_bgpio_set_with_clear:                  ; @bgpio_set_with_clear
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w2, #0
	cset	w20, ne
	bl	_bgpio_line2mask
	mov	x1, x0
	ldr	x2, [x19, #8]
	lsl	x8, x20, #4
	ldr	w0, [x19, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bgpio_set_with_clear
.subsections_via_symbols
