	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_sigprocmask
_do_sigprocmask:                        ## @do_sigprocmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SIG_BLOCK_@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	(%rax), %esi
	jmp	LBB0_5
LBB0_2:
	movq	_SIG_UNBLOCK_@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notl	%esi
	andl	(%rax), %esi
	jmp	LBB0_5
LBB0_4:
	movq	_SIG_SETMASK_@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_6
LBB0_5:
	movl	%esi, %edi
	callq	_sigmask_set
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_BLOCK_,8,3                 ## @SIG_BLOCK_
	.comm	_current,8,3                    ## @current
	.comm	_SIG_UNBLOCK_,8,3               ## @SIG_UNBLOCK_
	.comm	_SIG_SETMASK_,8,3               ## @SIG_SETMASK_
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.no_dead_strip	_do_sigprocmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_sigprocmask
_do_sigprocmask:                        ; @do_sigprocmask
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SIG_BLOCK_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIG_BLOCK_@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	orr	w0, w8, w1
	b	LBB0_6
LBB0_2:
Lloh6:
	adrp	x8, _SIG_UNBLOCK_@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIG_UNBLOCK_@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _current@GOTPAGE
Lloh10:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w8, [x8]
	bic	w0, w8, w1
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _SIG_SETMASK_@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIG_SETMASK_@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x1
LBB0_6:
	bl	_sigmask_set
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh15:
	adrp	x8, __EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_BLOCK_,8,3                 ; @SIG_BLOCK_
	.comm	_current,8,3                    ; @current
	.comm	_SIG_UNBLOCK_,8,3               ; @SIG_UNBLOCK_
	.comm	_SIG_SETMASK_,8,3               ; @SIG_SETMASK_
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.no_dead_strip	_do_sigprocmask
.subsections_via_symbols
