	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sigaddset                      ## -- Begin function sigaddset
	.p2align	4, 0x90
_sigaddset:                             ## @sigaddset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_3
## %bb.2:
	movq	__NSIG@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_3
## %bb.4:
	decb	%sil
	movl	$1, %eax
	movl	%esi, %ecx
	shlq	%cl, %rax
	orq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__NSIG,4,2                      ## @_NSIG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sigaddset                      ; -- Begin function sigaddset
	.p2align	2
_sigaddset:                             ; @sigaddset
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	subs	w9, w1, #1
	b.lt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, __NSIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, __NSIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.3:
	mov	w10, #1
	lsl	x9, x10, x9
	ldr	x10, [x0]
	orr	x9, x10, x9
	str	x9, [x0]
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__NSIG,4,2                      ; @_NSIG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
