	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_ib_set_wr_signal_state
_rds_ib_set_wr_signal_state:            ## @rds_ib_set_wr_signal_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$1, (%rdi)
	setb	%cl
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	testb	%cl, %cl
	jne	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movq	_rds_ib_sysctl_max_unsig_wrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rsi)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rds_ib_sysctl_max_unsig_wrs,8,3 ## @rds_ib_sysctl_max_unsig_wrs
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.no_dead_strip	_rds_ib_set_wr_signal_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_ib_set_wr_signal_state
_rds_ib_set_wr_signal_state:            ; @rds_ib_set_wr_signal_state
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	sub	x9, x8, #1
	str	x9, [x0]
	cbnz	w2, LBB0_3
; %bb.1:
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
Lloh0:
	adrp	x8, _rds_ib_sysctl_max_unsig_wrs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rds_ib_sysctl_max_unsig_wrs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IB_SEND_SIGNALED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_SEND_SIGNALED@GOTPAGEOFF]
	str	x8, [x0]
Lloh5:
	ldr	w8, [x9]
	ldr	w9, [x1]
	orr	w8, w9, w8
	str	w8, [x1]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rds_ib_sysctl_max_unsig_wrs,8,3 ; @rds_ib_sysctl_max_unsig_wrs
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.no_dead_strip	_rds_ib_set_wr_signal_state
.subsections_via_symbols
