	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atpic_unmask
_atpic_unmask:                          ## @atpic_unmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_device_get_softc
	cmpl	$8, %ebx
	jl	LBB0_2
## %bb.1:
	addb	$-8, %bl
	movq	(%rax), %rdx
	movq	_ATPIC_SLAVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	(%rax), %rdx
	movq	_ATPIC_MASTER@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rsi
	movl	(%rdx,%rsi,4), %ecx
	btrl	%ebx, %ecx
	movl	%ecx, (%rdx,%rsi,4)
	movq	%rax, %rdi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_atpic_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATPIC_SLAVE,8,3                ## @ATPIC_SLAVE
	.comm	_ATPIC_MASTER,8,3               ## @ATPIC_MASTER
	.no_dead_strip	_atpic_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atpic_unmask
_atpic_unmask:                          ; @atpic_unmask
	.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, x1
	bl	_device_get_softc
	subs	w8, w19, #8
	b.lt	LBB0_2
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
Lloh0:
	adrp	x9, _ATPIC_SLAVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATPIC_SLAVE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	lsl	w8, w8, w19
Lloh2:
	adrp	x9, _ATPIC_MASTER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ATPIC_MASTER@GOTPAGEOFF]
LBB0_3:
	ldr	x10, [x0]
	ldr	x1, [x9]
	lsl	x9, x1, #2
	ldr	w11, [x10, x9]
	bic	w3, w11, w8
	str	w3, [x10, x9]
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_atpic_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ATPIC_SLAVE,8,3                ; @ATPIC_SLAVE
	.comm	_ATPIC_MASTER,8,3               ; @ATPIC_MASTER
	.no_dead_strip	_atpic_unmask
.subsections_via_symbols
